3 ms·
Most new languages use postfix types. I grew up using C and C++, but now that I've learned and use Python with types and Typescript, I'm used to and prefer post
by mgraczyk 4y ago
Most new languages use postfix types. I grew up using C and C++, but now that I've learned and use Python with types and Typescript, I'm used to and prefer postfix syntax
- uwagar 4y agoshouldnt it then be? i: int 0 = ;
- mgraczyk 4y agoNo, it should read grammatically as English. int x = 0 "There is an integer x with value 0" x: int = 0 "x is an integer with value 0" x: int 0 = "x is an integer that is zero valued" The last one is awkward, the first one is harder to read.
- tsimionescu 4y agoThey said postfix types, not postfix syntax.