• masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    You are literally just describing the conceptual differences between functional programming and object oriented programming. It has nothing to do with front end vs backend, except for the fact that React has vastly popularized functional paradigms on the frontend.

    If you come from a Java / Spring background, that will seem foreign, if you come from an express background it will feel natural.

    Functional programming is extremely pleasant though. Its been described as what object oriented would look like if you actually followed all the SOLID principles. You should keep an open mind.