you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 5 days ago

It was fashionable at a time to avoid ifs and other imperative structures, but I tend to like them. Functional is nice and all but I like my code to be smart in the way it works, not in the way it's written. Nested ifs are readable, collapsible, and easy to make sense of at a glance, there's often nothing wrong with using them.

  • source
  • parent