←back to thread

873 points belter | 1 comments | | HN request time: 0s | source
Show context
ikety ◴[] No.42949735[source]
Functional programming does not prevent you from using objects

Stop listening to functional programming bros. Watch someone like Zoran Horvat. While I can't cosign all of his opinions, he tries to bridge the functional/OOP gap for OOP programmers. OOP programmers urgently need to distance themselves from this binary narrative. Everyone should understand functional programming and how they can utilize functional approaches in every language or paradigm. For me it is a requirement of understanding software development.

Absolutely every institution teaches OOP practices, they also need to teach functional practices. These aren't sports teams.

replies(3): >>42949802 #>>42950464 #>>42954084 #
geophile ◴[] No.42950464[source]
I wrote a comment echoing this point, about the coexistence of FP and OOP. This ties to the article's point about finding an algebra. Once you have an algebra, you have the basis for implementing a lot of your application in the functional style, manipulating objects that are inputs to and outputs from your algebra's operators.
replies(1): >>42950935 #
1. ikety ◴[] No.42950935[source]
Said better than I could have