usernamesAreTricky@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoDiscovered The Logic for the Fishing Industryi.imgur.comimagemessage-square1fedilinkarrow-up12arrow-down10cross-posted to: memes@lemmy.ml
arrow-up12arrow-down1imageDiscovered The Logic for the Fishing Industryi.imgur.comusernamesAreTricky@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square1fedilinkcross-posted to: memes@lemmy.ml
minus-squareblob42@lemmy.mllinkfedilinkEnglisharrow-up1·1 year agouse homomorphism and apply it to everything: interface Profitable { exploitable() --> bool can_organize() --> bool } let profitables: list[Profitable] for entity in all_things_on_earth { if entity.exploitable && !entity.can_organize { profitables.push(entity) } } profit += sell(exploit(profitables)) capital += buy_all_you_can(profit) - (buy_politicians(profit))
use homomorphism and apply it to everything:
interface Profitable { exploitable() --> bool can_organize() --> bool } let profitables: list[Profitable] for entity in all_things_on_earth { if entity.exploitable && !entity.can_organize { profitables.push(entity) } } profit += sell(exploit(profitables)) capital += buy_all_you_can(profit) - (buy_politicians(profit))