• MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 month ago

    Hiding the code behind other functions does not make it easier to read, only means you need to jump around a lot in order to understand what it is doing which IMO makes things harder to read.

    Exactly. That’s my gripe with most JS and PHP frameworks, some people just don’t work that way. Thanks, now i have to grok 70% of the codebase to understand what i need to change to implement simple feature request X.

    But on the other hand, limiting the scope of functions is a must. Superfunctions are a plague.