News for hackers. Stuff that matters.
Re:Statements vs. Expressions by gumby on Thursday July 14, 2022 @02:30PM (#32099777)
Lisp’s homoiconic representation is not relevant to this issue.

In C, `1+2` is an expression that returns 3. `1+2+3` acts like two expressions (and perhaps it is; I forget the precise terminology used in the standard). You can write `return foo(1+2)`.

But `for` introduces a statement so can only be used where a statement can.

There are no comments on this comment yet.