#debuggingfeb
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 Problems Readability Default...
An object that appears and disappears mysteriously TL;DR: Add the necessary indirection layers, but no more. Problems Accidental...
A code that either returns or no returns at all · TL;DR: Check carefully your boolean expressions Problems Readability Possible...
Software is about contracts and ambiguous contracts are a nightmare · TL;DR: Keep your code explicit Problems Coupling 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 Problems Lack of...