philnash to JavaScriptEnglish · 1 year agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34fedilinkarrow-up143arrow-down111
arrow-up132arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash to JavaScriptEnglish · 1 year agomessage-square34fedilink
minus-squareCameronDevlinkfedilinkarrow-up7arrow-down4·1 year agoDoes this article need to exist? I assumed anyone writing a nested ternary was intentionally writing shit code
minus-squareT (they/she)@beehaw.orglinkfedilinkarrow-up6arrow-down2·1 year 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.