• UFO
    link
    fedilink
    arrow-up
    21
    ·
    11 months ago

    I’ll just stick them together.

    Signed, a Scala programmer.

    • Pipoca@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      11 months ago

      Yeah, OO and FP aren’t really opposed. FP is opposed to imperative programming.

      That said, most FP languages give you a slightly different set of tools to use. Algebraic data types and typeclasses are really, really nice.

      Honestly, working in Haskell or rust, you don’t really miss the fact that you have to jump through hoops to get traditional OO objects. There’s just not really many cases where you need them.

      • UFO
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Slightly jealous of the F#. Similar set of compelling features minus the JVM.

      • Lmaydev
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        I’m really glad c# is absorbing more and more functional stuff.