
Denis Somar
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
This is definitely more robust but is implicitly less expressive (in my opinion). My code can tend to suffer from IF-itis and maintainability down the road so this is useful as a pattern to consider when re-factoring. Thanks!