#programming
Read more stories on Hashnode
Articles with this tag
Memoization is awesome. Let's abuse it · TL;DR: Don't apply premature optimization too early Problems Readability Code Complexity Premature...
*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...