☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 months agoWhat Imperative Programming Feels Likemedia.mas.toimagemessage-square7fedilinkarrow-up155arrow-down16
arrow-up149arrow-down1imageWhat Imperative Programming Feels Likemedia.mas.to☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 months agomessage-square7fedilink
minus-squaresamc@feddit.uklinkfedilinkEnglisharrow-up13arrow-down1·8 months agoFunctional bros rise up!
minus-squareMyFeetOwnMySoul@lemmy.calinkfedilinkarrow-up4·8 months agoNow, I don’t functional (at all), but if you call a function with no parameters, doesn’t it imply side effects?
minus-squareeluvatar@programming.devlinkfedilinkarrow-up3·8 months agoI mean it could just always return the same thing…
minus-squareMyFeetOwnMySoul@lemmy.calinkfedilinkarrow-up3·8 months agoI would think that role is filled by constants.
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPlinkfedilinkarrow-up3arrow-down3·8 months agoWe’re not savages, we use structural sharing in our data structures. :)
Functional bros rise up!
yes();
Now, I don’t functional (at all), but if you call a function with no parameters, doesn’t it imply side effects?
I mean it could just always return the same thing…
I would think that role is filled by constants.
Rise up and copy!
We’re not savages, we use structural sharing in our data structures. :)