#software-development
Read more stories on Hashnode
Articles with this tag
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...
You create empty methods instead of failing TL;DR: Don't fill in methods to comply Problems Fail Fast Principle Violation Solutions Throw an...
You should not define too much behavior together · TL;DR: Split your interfaces Problems Interface Segregation Principle...
Two arguments of the same type. Two equal names · TL;DR: Turn on Strict Checks Problems Unexpected errors Ambiguity The Least Surprise Principle...
You can prevent undefined TL;DR: Declare your variables and look after the scope Problems Readability Least Surprise Principle violation Variable...