• Heavybell@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    7 months ago

    If the only tool you have is a hammer, everything looks like a nail.

    That’s the only thing I can think to answer your question. There are some problems that are best solved with other tools, like text parsing for example you might want to call out to some code written in a functional language.

    • CapeWearingAeroplane
      link
      fedilink
      arrow-up
      4
      ·
      7 months ago

      Oh, thanks then! I’ve heard people shred on OOP regularly, saying that it’s full of foot-canons, and while I’ve never understood where they’re coming from, I definitely agree that there are tasks that are best solved with a functional approach.