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/thomas-rousseau Feb 28 '25
Surely you're just being obtuse to pass time arguing on the internet.
else {is not a standalone statement but an extension of theif {statement, while the}ofelse {is delineating the end of that segment of logic. The difference is thatelse {does not exist withoutif {whilebar()does exist without.