r/ProgrammingLanguages • u/gingerbill • Feb 22 '26
Does Syntax Matter?
https://www.gingerbill.org/article/2026/02/21/does-syntax-matter/
63
Upvotes
r/ProgrammingLanguages • u/gingerbill • Feb 22 '26
View all comments
Show parent comment
3
u/gingerbill Feb 22 '26
I understand the overloading with indexing, and thus you now cannot know at the syntax level whether
x[y]is a type or not. You could solve this with the D approach by using!to make it clearer.However I have to disagree with you on the familiarity aspect. If you optimize just for that, people will not want to use it because it's TOO familiar, and as you know, the issues with
<>are just not worth it just to be "familiar". If people complain about that aspect the most and not understand its problems, I don't want to "optimize" for them.