#programming-tips
Read more stories on Hashnode
Articles with this tag
You use nice words to excuse bad code · TL;DR: Don't excuse bad code. Write a clean one! Problems Readability Solutions Rewrite the code and delete...
Don't abuse this fancy operator · TL;DR: Use comma operator just for loops Problems Readability Hidden Defects Solutions Avoid operator...
You abuse cases in switches and make subtle mistakes · TL;DR: Cases are GOTOs, but you might be missing them Problems Hidden...
Counting from zero seems natural. Doesn't it? · TL;DR: Start counting from one instead of zero. Like humans do. Problems Bijection from real-world...
The first thing we read after the if the condition is the IF · TL;DR: You have the important else condition on the...
If your merge request has no test changed, you haven't finished your job · If your merge request has no test changed, you haven't finished your...