Better HN
topnewbestaskshowjobs
Log inSign up

loupax

7 karma · joined Oct 4, 2016 (10y ago) · 3 submissions

Submissions

comment 10y ago · link · parent

This reminds my of my own pet-peeve when it comes to good practices being abused:

DRY: DRY in the sense where "I have three nested ifs, but to avoid I have to compare against this variable three times so my code now is simpler. RIGHT?"

comment 10y ago · link · parent

How is that for a thought experiment? Say I build a self-driving car, that when faced with such cases does the equivalent of "Jesus take the wheel". This is well known by the owner of the car.

In case of injury or death, who should go on trial?

comment 10y ago · link · parent

Rule one, save all your passengers. Nobody would buy a car that has the death of its passengers as an acceptable scenario and Jeff from marketing will be on my ass otherwise.

Rule two. Kill the least amount of people outside of the car. Done.

I know this is a thought experiment but this is completely missing the point of self driving cars IMO. Sure a human can be more moral than a car, but all it takes is being distracted for a second and you killed all the babies on the pavement.