• Shrek
    ·
    edit-2
    3 years ago

    deleted by creator

    • spez [any]
      ·
      3 years ago

      Functional programming and oop aren't necessarily antithetical to one another. There's no reason your functions can't return objects that are instances of classes with their own methods. You just can't mutate, but that doesn't mean you can't use OOP.

      • Shrek
        ·
        edit-2
        3 years ago

        deleted by creator

    • makotech222 [he/him]
      ·
      3 years ago

      Gonna have to disagree majorly on that. Have you ever worked on a big enterprise project before?

      • Shrek
        ·
        edit-2
        3 years ago

        deleted by creator

        • makotech222 [he/him]
          ·
          3 years ago

          and you're not encapsulating any logic in classes or anything?

          • Saint [he/him]
            ·
            3 years ago

            It sounds like they prefer functional programming, which has different solutions for encapsulation, etc.