philnash@programming.dev to JavaScript@programming.devEnglish · 10 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square33fedilinkarrow-up138arrow-down19
arrow-up129arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 10 months agomessage-square33fedilink
minus-squarehoot@lemmy.calinkfedilinkarrow-up6arrow-down3·10 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-up6·10 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”.
NestedTernaryHelper.js
What’s wrong with helper/util classes?