#clean-code
Read more stories on Hashnode
Articles with this tag
*You map concepts to optimized numbers* · TL;DR: Use real-world constants as constants Problems Bijection Violation Debugging Premature...
You copy a file and don't verify it · TL;DR: Don't rely on external solutions without good handlers Problems Silent Modifications Least Surprise...
You want to replace all, but you replace one ocurrence · TL;DR: Bad function names will lead you to defects Problems Misleading Names The least...
You need to model an expiration date. Which object will you use? · TL;DR: Model real word expiration dates with... expiration dates (I will use expiry...
A great door for hackers · TL;DR: Don't use metaprogramming. It is not that cool Problems Security Limited Control Solutions Use direct calls...
You show an error and provide no useful information · TL;DR: Help yourself and others with correction information Problems Debugging and maintenance...