philnash@programming.dev to JavaScript@programming.devEnglish · 9 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square32fedilinkarrow-up138
arrow-up127external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 9 months agomessage-square32fedilink
minus-squarehoot@lemmy.calinkfedilinkarrow-up4arrow-down3·9 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·9 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