1. If
I know it’s the shortest title in the history of online articles, but that’s what this article is all about. All the various use-cases, refactoring possibilities of ‘if’ statement I can think of.
But why bother ? I mean… we learned this like 100 years ago, we’ve been using it every single coding day, no matter the application, framework, language.