philnash@programming.dev to JavaScript@programming.devEnglish · 11 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square33fedilinkarrow-up141arrow-down111
arrow-up130arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 11 months agomessage-square33fedilink
minus-squarehoot@lemmy.calinkfedilinkarrow-up4arrow-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