Code smells or bad code doesn't mean that the code is not usable, but as a programmer, I think we should produce reusable, readable, and refactorable software. I will not repeat the mistakes in the last article, if you haven’t read it, please check it out.
Table of contents
Clean Code in TypeScriptIntroductionDon’t add unneeded contextUse enumFunction names should say what they doPrefer functional programming over imperative programmingAvoid negative conditionalsPrefer immutabilitytype vs. interfaceSingle concept per testConclusion4 Comments
Sort: