Some functions do not behave as expected. Sadly, most programmers accept them.
TL;DR: Don't trust max() and min() functions. Just ignore them.
What is Clean Code?
It is quite a self-explanatory term. From what I learned, the manner in which we follow conventions of keeping our code as clean a…
Objects work fine and fulfill business objectives. But we need to test them. Let's break them.
TL;DR: Don't write methods with the only purpose of be…
result = ???
TL;DR: Use good names always. Result is always a very bad name.
If you don't know how…
Exceptions are a great way of separating happy path versus trouble path. But we tend to over-complicate our solutions.
TL;DR: Don't nest Exceptions. …