this post was submitted on 18 Aug 2023
735 points (95.5% liked)
Programmer Humor
20039 readers
112 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Napkin math, from the last time I saw this:
Edit: This assumes the length of the chain is variable but finite, and the trolley stops afterwards. If it's infinite obviously you pull the switch.
Could you elaborate what you are analysing here? If I dont misinterpret the model, the option where you dont double the victims minimizes deaths every time.
Ah, but then you're giving the opportunity to the next guy to kill even more, if he wants. Most people obviously won't want to do that, but a rare few will, and the body count gets so big so fast that it only takes a few switches before that's a bad risk.
I was expecting a bigger number of switches, but I guess that's just another example of humans being bad at tracking the consequences of large quantities.
I think you're on the right track.