usernamesAreTricky@lemmy.ml to Programmer Humor@lemmy.ml • 1 year agoDiscovered The Logic for the Fishing Industryimagemessage-square1 fedilinkarrow-up10cross-posted to: memes@lemmy.ml
arrow-up10imageDiscovered The Logic for the Fishing IndustryusernamesAreTricky@lemmy.ml to Programmer Humor@lemmy.ml • 1 year agomessage-square1 Commentsfedilinkcross-posted to: memes@lemmy.ml
minus-squareblob42@lemmy.mlhexbear0·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)) linkfedilink
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))