Functional Programming vs. Object Oriented Programming

Mac@programming.dev to Programming@programming.dev – 84 points –
Functional Programming vs. Object Oriented Programming — Monday Morning Haskell
mmhaskell.com
35

You are viewing a single comment

I'll just stick them together.

Signed, a Scala programmer.

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.

Yeah, me too.

Signed, an F# programmer.

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

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