News for hackers. Stuff that matters.
Re:Optional If Expressions by bheadmaster on Saturday April 15, 2023 @02:49AM (#35578248)
As far as I know, Lisp was the first expression-oriented language, so the if-as-an-expression idea probably comes from there.

In contrast to Fortran, in which "if" was a strict statement, which doesn't evaluate to anything and cannot be used directly in assignment.

There are no comments on this comment yet.