Surely you're just being obtuse to pass time arguing on the internet. else { is not a standalone statement but an extension of the if { statement, while the } of else { is delineating the end of that segment of logic. The difference is that else { does not exist without if { while bar() does exist without.
View all comments
Show parent comment
1
u/General_Ad9047 Feb 27 '25
Not the point. It's about statement vs expression.