philnash@programming.dev to JavaScript@programming.devEnglish · 11 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square31fedilinkarrow-up142arrow-down111
arrow-up131arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 11 months agomessage-square31fedilink
minus-squarehoot@lemmy.calinkfedilinkarrow-up5arrow-down3·11 months agoI’ll be sending this article to my dev teams. It’s right up there with “stop writing Helper classes”.
minus-squarecoloredgrayscale@programming.devlinkfedilinkarrow-up7·11 months agoWhat’s wrong with helper/util classes?
I’ll be sending this article to my dev teams. It’s right up there with “stop writing Helper classes”.
What’s wrong with helper/util classes?
NestedTernaryHelper.js