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 !webdev@programming.dev
If your program functions, it's functional.
Turns out I really love functional programming after all 😹
What if my program is objectionable?
And if it doesn't have objects, then it has no class!
Functions, here, being the key word.
Functions are pure mappings from input to output.
wooosh
I agree with you that if you use functions it's functional.
But many people don't really realize how that contrasts with procedures and procedural code.
I'd be oriented to object
Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing.
perchance you were objectively oriented?