2 ms·
When reading C++, features like colons and brackets are just sort of mentally removed. I don't really see them other than as clutter that at best makes the outl
by c3534l 11y ago
When reading C++, features like colons and brackets are just sort of mentally removed. I don't really see them other than as clutter that at best makes the outline and structure of the program harder to see. I strongly suspect it's a matter of being used to the familiarity of brackets and colons. But hey, this is sort of pthe programmers version of the "blue and white dress."
- Guvante 11y agoTo be fair, colons and brackets are really nice from a language designer standpoint, as they are completely unambiguous. I think Haskell took an interesting method to the distinction, just use both. (Spaces are translated to the other form automatically)