@philnash to JavaScriptEnglish • 7 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34arrow-up143arrow-down111
arrow-up132arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.com@philnash to JavaScriptEnglish • 7 months agomessage-square34
minus-square@CameronDevlink3•7 months agoDoes this article need to exist? I assumed anyone writing a nested ternary was intentionally writing shit code
minus-squareT (they/she)linkfedilink4•7 months agoSome people think they are being “cleaver” writing a lot of stuff in one line. So yes, it does.
Does this article need to exist? I assumed anyone writing a nested ternary was intentionally writing shit code
Some people think they are being “cleaver” writing a lot of stuff in one line. So yes, it does.