philnash@programming.dev to JavaScript@programming.devEnglish · 1 year agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34fedilinkarrow-up143arrow-down111
arrow-up132arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 1 year agomessage-square34fedilink
minus-squarehoot@lemmy.calinkfedilinkarrow-up5arrow-down3·1 year 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·1 year 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