3 ms·
I mean most programming languages put some sort of punctuation between names. Eg: function calls are punctuated by parens, imports are punctuated by `::` or `.`
by Ar-Curunir 7y ago
I mean most programming languages put some sort of punctuation between names. Eg: function calls are punctuated by parens, imports are punctuated by `::` or `.`.
The same should happen for types.
- thom 7y agoI think the vast majority of code that exists in the world today has at most one space between a variable and its type.
- Ar-Curunir 7y agoThere’s a difference between “things that are implemented in popular programming languages” and “things that are implemented in most programming languages”
- thom 7y agoYes but you’re clearly making some sort of argument by authority and I think that works both ways. I just don’t see any reason to hold firm beliefs either way on such a trivial issue unless someone has a citation that I’m missing that proves one form increases comprehension or productivity, or reduces bugs.