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/xeow Feb 22 '26
I have always actually liked having
untilandunless, and have never thought them to be "diabetic." In my experience, they can, on occasion, express intent more clearly thanwhileandif, and I wish more languages had them as first-class keywords. (I say "first-class" because they can be emulated as second-class keywords in C through the use of#define until(x) while(!(x))and#define unless(x) if (!(x)).