#programming
Read more stories on Hashnode
Articles with this tag
Pass by copy, pass by reference. which is better? · TL;DR: Beware of passing arguments by reference Problems Unexpected Results Side...
Software evolves, and so does culture. · TL;DR: Avoid old terms like whitelists, blacklists, master, etc. Problems Racial Connotations Exclusionary...
You abuse cases in switches and make subtle mistakes · TL;DR: Cases are GOTOs, but you might be missing them Problems Hidden...
You need to return more than one object · TL;DR: Don't return multiple values. Problems Coupling Missing...
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...
If you miss a comma, you are concatenating · TL;DR: Watch out for fancy language assumptions Problems Possible defects The least surprise principle...