▲ 84 ▼ Functional Programming vs. Object Oriented Programming (mmhaskell.com) submitted 2 years ago by mac@programming.dev to c/programming@programming.dev 35 comments fedilink hide all child comments
[–] Deckweiss@lemmy.world 12 points 2 years ago (4 children) If your program functions, it's functional. permalink fedilink source hideshow 8 child comments replies: [–] mvirts@lemmy.world 9 points 2 years ago Turns out I really love functional programming after all 😹 permalink fedilink source parent [–] collapse_already@lemmy.ml 4 points 2 years ago What if my program is objectionable? permalink fedilink source parent [–] bitcrafter@programming.dev 2 points 2 years ago And if it doesn't have objects, then it has no class! permalink fedilink source parent [–] Pipoca@lemmy.world 0 points 2 years ago (1 child) Functions, here, being the key word. Functions are pure mappings from input to output. permalink fedilink source parent hideshow 2 child comments replies: [–] Deckweiss@lemmy.world 1 point 2 years ago (1 child) wooosh permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago (1 child) I'd be oriented to object permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent
[–] mvirts@lemmy.world 9 points 2 years ago Turns out I really love functional programming after all 😹 permalink fedilink source parent
[–] collapse_already@lemmy.ml 4 points 2 years ago What if my program is objectionable? permalink fedilink source parent
[–] bitcrafter@programming.dev 2 points 2 years ago And if it doesn't have objects, then it has no class! permalink fedilink source parent
[–] Pipoca@lemmy.world 0 points 2 years ago (1 child) Functions, here, being the key word. Functions are pure mappings from input to output. permalink fedilink source parent hideshow 2 child comments replies: [–] Deckweiss@lemmy.world 1 point 2 years ago (1 child) wooosh permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago (1 child) I'd be oriented to object permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent
[–] Deckweiss@lemmy.world 1 point 2 years ago (1 child) wooosh permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago (1 child) I'd be oriented to object permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent
[–] Pipoca@lemmy.world 1 point 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago (1 child) I'd be oriented to object permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent
[–] superbirra@lemmy.world 0 points 2 years ago (1 child) I'd be oriented to object permalink fedilink source parent hideshow 2 child comments replies: [–] Pipoca@lemmy.world 1 point 2 years ago (1 child) Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent
[–] Pipoca@lemmy.world 1 point 2 years ago (1 child) Apparently my brain silently inserted "ing with" into the middle of "program functions" a half dozen times without me noticing. permalink fedilink source parent hideshow 2 child comments replies: [–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent
[–] superbirra@lemmy.world 0 points 2 years ago* perchance you were objectively oriented? permalink fedilink source parent