Too Long; Didn't Read
If you think something is missing, please check out my previous post, 5 easy wins to refactor even the ugliest code. In this post I will go over 5 very common code smells and how to fix them. Conditionals should each get their own line. It’s important to follow convention to ease development. Properly annotate your optional parameters in Typescript/Javascript. Use the ‘?’ instead of the undefined definition. Watch out for “Dead Stores Stores Stores’”.