Read more stories on Hashnode
Articles with this tag
You need to return more than one object · TL;DR: Don't return multiple values.
Counting from zero seems natural. Doesn't it? · TL;DR: Start counting from one instead of zero. Like humans do.
Bijection from real-world...
You create empty methods instead of failing
TL;DR: Don't fill in methods to comply
Fail Fast Principle Violation
You should not define too much behavior together · TL;DR: Split your interfaces
Interface Segregation Principle...
Two arguments of the same type. Two equal names · TL;DR: Turn on Strict Checks
The Least Surprise Principle...
You can prevent undefined
TL;DR: Declare your variables and look after the scope
Least Surprise Principle violation