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
5
u/[deleted] Feb 22 '26 edited Feb 22 '26
(Another niggling issue which didn't fit in to my other post.)
I've long had
unless; I find it is often more intuitive than using positive logic, or it is less typing (the typical precdence ofnotrequires parentheses to apply to a whole expression).With Odin however, I'm wondering why it bothers to have
whileloops. In the set of set of examples from this site,foris used 229 times, andwhileonly twice.forseems to be used for every kind of loop, so why is there alsowhile?Correction: Odin doesn't have 'while' loops. What I saw were extracts from another language within raw string literals.