HNHacker News
TopNewBestAskShowJobs

loupax

7 karma · joined October 4, 2016

submissionscomments
loupax··on Should I Comment My Code? The Case Against Code Comments
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?"

loupax··on Moral Machine
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?

loupax··on Moral Machine
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.