Clean code
Simplify your switch statements
Posted on:December 31, 2020 at 03:22 PMThe switch statement is a powerful tool for every developer but it's quite verbose. Let's try to use object literals instead.
The bouncer pattern
Posted on:January 24, 2021 at 03:22 PMThe bouncer pattern is a very simple technique that can make your code more readable. It shines when it comes to pieces of code with many if/else statements and you want to get rid of some unwanted code indentation.