84
Functional Programming vs. Object Oriented Programming
(mmhaskell.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities [email protected]
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.
That is nice for when C# is mandated, but it’ll never replace F#
I feel in reality that statement is backwards hehe