How to bulk remove trivial if statements
I’m working on refactoring a big codebase and part of the refactor includes removing some checks. I couldn’t figure out a way to do this efficiently. For example if the old code was something like:
I’m working on refactoring a big codebase and part of the refactor includes removing some checks. I couldn’t figure out a way to do this efficiently. For example if the old code was something like: