▲ 84 ▼ Functional Programming vs. Object Oriented Programming (mmhaskell.com) submitted 2 years ago by mac@programming.dev to c/programming@programming.dev 35 comments fedilink hide all child comments
[–] UFODivebomb@programming.dev 21 points 2 years ago (2 children) I'll just stick them together. Signed, a Scala programmer. permalink fedilink source hideshow 4 child comments replies: [–] Pipoca@lemmy.world 6 points 2 years 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. permalink fedilink source parent [–] AdamBomb@lemmy.sdf.org 4 points 2 years ago (2 children) Yeah, me too. Signed, an F# programmer. permalink fedilink source parent hideshow 4 child comments replies: [–] UFODivebomb@programming.dev 2 points 2 years ago Slightly jealous of the F#. Similar set of compelling features minus the JVM. permalink fedilink source parent [–] Lmaydev@programming.dev 2 points 2 years ago (1 child) I'm really glad c# is absorbing more and more functional stuff. permalink fedilink source parent hideshow 2 child comments replies: [–] AdamBomb@lemmy.sdf.org 1 point 2 years ago (1 child) That is nice for when C# is mandated, but it’ll never replace F# permalink fedilink source parent hideshow 2 child comments replies: [–] Lmaydev@programming.dev 1 point 2 years ago I feel in reality that statement is backwards hehe permalink fedilink source parent
[–] Pipoca@lemmy.world 6 points 2 years 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. permalink fedilink source parent
[–] AdamBomb@lemmy.sdf.org 4 points 2 years ago (2 children) Yeah, me too. Signed, an F# programmer. permalink fedilink source parent hideshow 4 child comments replies: [–] UFODivebomb@programming.dev 2 points 2 years ago Slightly jealous of the F#. Similar set of compelling features minus the JVM. permalink fedilink source parent [–] Lmaydev@programming.dev 2 points 2 years ago (1 child) I'm really glad c# is absorbing more and more functional stuff. permalink fedilink source parent hideshow 2 child comments replies: [–] AdamBomb@lemmy.sdf.org 1 point 2 years ago (1 child) That is nice for when C# is mandated, but it’ll never replace F# permalink fedilink source parent hideshow 2 child comments replies: [–] Lmaydev@programming.dev 1 point 2 years ago I feel in reality that statement is backwards hehe permalink fedilink source parent
[–] UFODivebomb@programming.dev 2 points 2 years ago Slightly jealous of the F#. Similar set of compelling features minus the JVM. permalink fedilink source parent
[–] Lmaydev@programming.dev 2 points 2 years ago (1 child) I'm really glad c# is absorbing more and more functional stuff. permalink fedilink source parent hideshow 2 child comments replies: [–] AdamBomb@lemmy.sdf.org 1 point 2 years ago (1 child) That is nice for when C# is mandated, but it’ll never replace F# permalink fedilink source parent hideshow 2 child comments replies: [–] Lmaydev@programming.dev 1 point 2 years ago I feel in reality that statement is backwards hehe permalink fedilink source parent
[–] AdamBomb@lemmy.sdf.org 1 point 2 years ago (1 child) That is nice for when C# is mandated, but it’ll never replace F# permalink fedilink source parent hideshow 2 child comments replies: [–] Lmaydev@programming.dev 1 point 2 years ago I feel in reality that statement is backwards hehe permalink fedilink source parent
[–] Lmaydev@programming.dev 1 point 2 years ago I feel in reality that statement is backwards hehe permalink fedilink source parent