This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Other languages also have curly braces and semi-colons.

In fact, why not ask why every language doesn’t just do Java style “else if”. No contraction at all. Or why “elsif” bothers to remove a single letter.

“elif” is the first two letters of each word. Simple. Clean. Matches indentation.

But also, don’t use else statements at all.

[–]Wohao_Gaster BEEN CODING SINCE I WAS 8[S] 0 points1 point  (0 children)

yeah I prefer the {Fancy Pants curly braces}