this post was submitted on 03 Jun 2023
9 points (100.0% liked)

Programmer Humor

32483 readers
375 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] blob42@lemmy.ml 1 points 1 year ago (1 children)

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))
[โ€“] usernamesAreTricky@lemmy.ml -2 points 1 year ago

Missing the line:

profit += subsidies_that_are_totally_not_hand_outs_when_we_get_them_but_are_if_you_do

Fishing industry for instance:

In fact, a 2018 study showed that without government subsidies, as much as 54% of high seas fishing grounds would be unprofitable at current fishing rates.

[...]

Governments pay about $20 billion a year in damaging types of fisheries subsidies, primarily to industrial fishers, to offset costs such as fuel, gear and vessel construction.

https://www.pewtrusts.org/en/projects/reducing-harmful-fisheries-subsidies