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
Don't abuse this fancy operator · TL;DR: Use comma operator just for loops
You need to return more than one object · TL;DR: Don't return multiple values.
If you miss a comma, you are concatenating · TL;DR: Watch out for fancy language assumptions
The least surprise principle...
You create empty methods instead of failing
TL;DR: Don't fill in methods to comply
Fail Fast Principle Violation
Metaprogramming is always a problem · TL;DR: Don't allow remote code execution
Validate and sanitize input