Fail Fast Principle
https://youtu.be/HDMLrIdhD2A
'Fail fast' suggests that if an error or problem is going to occur, it's best to detect it as early as possible. Improper or invalid inputs to a system or to individual methods, are a common source of problems in software...
devtipsandtricks.hashnode.dev1 min read