Fixing bad code quality habits on a team is hard. It is especially hard if you don’t have the organizational power to do it. But, keep these things in mind and you just might influence your team to ship better code.
Coding without if-statements is one method for learning other ways to structure your code. That doesn’t mean never use if-statements. Being careful with conditional logic makes better code. Here’s why.