• Zos_Kia@jlai.lu
    link
    fedilink
    arrow-up
    4
    ·
    5 hours 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.