Thoughts

mental health break ,./'"**^^$_---
One of the subelties that I missed in my post on a block-based language earlier is that `while` statements in C-languages are weird.
Here, what if you wanted to create an infinite loop if x was less than 5, and not run your code if x was greater than or equal to five. `while (x < 5) {…}` You couldn't do that in one line, you would need to store the result of `x < 5` into a variable outside the loop. There's no way to tell the language, "evaluate this expression once, please." In that sense, `while` loops are a kind of macro in that they define a syntax that doesn't exist anywhere else in the language. (And mean, they're not a "macro", that's just a language feature, but it's still interesting.)
Link 1:23 p.m. Dec 08, 2021 UTC-5