Re:History of Lisp (1979) [pdf]
by ggm on Tuesday October 26, 2021 @02:05AM
(#28996941)
How does this differ semantically from the C ternary operator? Not syntactically, in its outcome and expression of a testable boolean clause, and a left or right side choice which is the assignment value?
[ Parent
| on HN ]
Not much.
But syntax matters; a ternary expression tells me at a glance that there's no funny stuff going on, it's just making a choice between two expressions.
In Go I have to scan every single branch when reading to make sure.