filmov
tv
Avoid else and nested if/else
Показать описание
The more if/else blocks we have the harder our code becomes to understand. Pair that up with nested if/else blocks and it becomes even harder to understand. That is why we should try to avoid nesting as much as possible, and not use else blocks if we can avoid it... In this short, I show you one way to do clean up a nested if/else.
#shorts
#shorts