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