philnash@programming.dev to JavaScript@programming.devEnglish · 11 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34fedilinkarrow-up143arrow-down110
arrow-up133arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 11 months agomessage-square34fedilink
minus-squareCameronDev@programming.devlinkfedilinkarrow-up7arrow-down4·11 months 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·11 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.