Mac@programming.dev to Programming@programming.dev · 1 year agoFunctional Programming vs. Object Oriented Programmingmmhaskell.comexternal-linkmessage-square35fedilinkarrow-up193arrow-down19
arrow-up184arrow-down1external-linkFunctional Programming vs. Object Oriented Programmingmmhaskell.comMac@programming.dev to Programming@programming.dev · 1 year agomessage-square35fedilink
minus-squarePipoca@lemmy.worldlinkfedilinkarrow-up1arrow-down1·1 year agoFunctions, here, being the key word. Functions are pure mappings from input to output.
minus-squarePipoca@lemmy.worldlinkfedilinkarrow-up1·1 year agoI 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.
minus-squaresuperbirra@lemmy.worldlinkfedilinkarrow-up1arrow-down1·1 year agoI’d be oriented to object
minus-squarePipoca@lemmy.worldlinkfedilinkarrow-up1·1 year agoApparently my brain silently inserted “ing with” into the middle of “program functions” a half dozen times without me noticing.
minus-squaresuperbirra@lemmy.worldlinkfedilinkarrow-up1arrow-down1·edit-21 year agoperchance you were objectively oriented?
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?