What if my program is objectionable?
Comment on Functional Programming vs. Object Oriented Programming
Deckweiss@lemmy.world 1 year ago
If your program functions, it’s functional.
collapse_already@lemmy.ml 1 year ago
bitcrafter@programming.dev 1 year ago
And if it doesn’t have objects, then it has no class!
Pipoca@lemmy.world 1 year ago
Functions, here, being the key word.
Functions are pure mappings from input to output.
Deckweiss@lemmy.world 1 year ago
wooosh
Pipoca@lemmy.world 1 year ago
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.
mvirts@lemmy.world 1 year ago
Turns out I really love functional programming after all 😹