#programming-tips
Read more stories on Hashnode
Articles with this tag
Yet Another Security Code Smell Because Nobody Ever Reads the Documentation · TL;DR: Ignoring constant replacement leads to severe security...
You assert that something happened, but why? · TL;DR: Be explicit when creating tests to ensure clarity and...
You compute and log in the same place · TL;DR: Avoid side effects. Always. Problems Coupling Testability Reusability Function...
You count collections or collections.count? · TL;DR: Chose narrow names Problems Bad Naming Solutions Accurately describe your...
You overcomplicate your code · TL;DR: Avoid Accidental complexity and bureaucracy Problems Accidental Complexity Readability Bijection...
More than one class is a mess · TL;DR: Follow the separation of concerns principle and file organization Problems Code...