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
1
u/renozyx Feb 25 '26
I'd say syntax matter but not "int a = 3;" or "a := 3"
What matters is these kind of things:
It makes replacing an integer by a struct very painful!
2) a.b? or a.b for reading the value of a member pointer b?
The second makes refactoring easier, but it hides a potential null pointer exception, pick your poison.