4 ms·
Maybe because I’m used to it from C# and Typescript, but ? and ! seem a perfectly readable to me. Obviously ‘nullable’ is more understandble the very first time
by bazoom42 2y ago
Maybe because I’m used to it from C# and Typescript, but ? and ! seem a perfectly readable to me. Obviously ‘nullable’ is more understandble the very first time you encounter it in code, but this is not what you should optimize for in a professional language (as opposed to a teaching or scripting language).
- gpderetta 2y agoThat's the Stroustrup Rule: For new features, people insist on LOUD explicit syntax. For established features, people want terse notation.
- marcosdumay 2y agoYes, and that reduces to "the more a feature is (expected to be) used, the terser should be it's syntax", because people forget.