philnash@programming.dev to JavaScript@programming.devEnglish · 1 year agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square29fedilinkarrow-up141arrow-down110
arrow-up131arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 1 year agomessage-square29fedilink
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-up6·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”.
NestedTernaryHelper.js
What’s wrong with helper/util classes?