News for hackers. Stuff that matters.
Re:Statements vs. Expressions by goto11 on Thursday July 14, 2022 @10:15AM (#32096354)
Haskell is also based on an everything-is-an-expression syntax, but ended up re-inventing statements one level up, in the do-notation blocks.

To me, this indicates there is some merit to the statement/expression distinction.

Re:Statements vs. Expressions by sixbrx on Thursday July 14, 2022 @02:16PM (#32099602)
I'd say Haskell didn't reinvent statements so much as it just modeled them. That allows manipulating them before they are interpreted, which is a good thing generally.