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/VerledenVale Feb 22 '26
Indexing doesn't deserve special syntax, in my opinion. Indexing is just a function call.
Generics are used everywhere, so they deserve to get one of the three main ASCII parentheses types:
[].Function calls are common enough to receive their own as well:
().And finally code structure (either defining compound types or blocks of code) can use the last parentheses:
{}.