philnash@programming.dev to JavaScript@programming.devEnglish · 11 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square30fedilinkarrow-up139arrow-down111
arrow-up128arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 11 months agomessage-square30fedilink
minus-squareCameronDev@programming.devlinkfedilinkarrow-up7arrow-down3·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-down1·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.