Read more stories on Hashnode
Articles with this tag
Constants should be together to find them easily · TL;DR: Don't define too many unrelated constants in the same class. Don't pile up the junk...
Arrow Code, Nested Conditions, switches, else, and many more · TL;DR: Don't use nested IFs or nested ternaries
An object that appears and disappears mysteriously
TL;DR: Add the necessary indirection layers, but no more.
A code that either returns or no returns at all · TL;DR: Check carefully your boolean expressions
Software is about contracts and ambiguous contracts are a nightmare · TL;DR: Keep your code explicit
Fail Fast Principle...
This is a nice way to mark 'your' classes and objects · TL;DR: Don't prefix or suffix your names with irrelevant information