JavaScript: why the f*&* don't you have If .. elseif ... elseif .. else .. endif? "switch" that needs "break"s is embarrasingly shit
@pornelski @brucel …although that’s really `else { if {} }`
-
-
@mathias optional parentheses make it nice... and annoyingly hard to parse - "dangling else problem" -
@pornelski TIL about the “dangling else problem” — thanks!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.