4 ms·
New syntax or macros sounds like it would make the language harder to read. Often the opposite is true. For example Java records are far easier to read and und
by orangecat 5y ago
New syntax or macros sounds like it would make the language harder to read.
Often the opposite is true. For example Java records are far easier to read and understand than the pages of boilerplate that they replace.
- xmprt 5y agoThat sounds like an issue with how Java was designed. There are plenty of languages that solve Java's boilerplate problems without adding new syntax for records.
- chongli 5y agoIf you’ll review my original comment, I never said new syntax. I said better syntax. If your language design leads to a lot of boilerplate in idiomatic use then it needs to be better. Adding new syntax is just putting a bandaid on the problem.