@philnash to JavaScriptEnglish • 7 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34arrow-up143arrow-down111
arrow-up132arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.com@philnash to JavaScriptEnglish • 7 months agomessage-square34
minus-square@[email protected]linkfedilink2•7 months agoI’ll be sending this article to my dev teams. It’s right up there with “stop writing Helper 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