Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Never write a function called destroyBaghdad(). Instead name it destroyCity and pass the target as a parameter.


If Baghdad is city your users destroy most often, I would allow a destroyBaghdad() function that calls destroyCity() with all parameters set correctly.


This is why the US destroyed Baghdad.

The contract is called CongressAuthorizesInvadingCountry(country :Country): Invasion

Congress made a thunk with Iraq in it, so despite the lack of any real connection to Recent Events, the White House called it in 2003.


Ugh.

Try writing destroyKiev instead and see what happens.


Last time I tried, I got a 404 Competent Military Not Found error. :/


My point was that neither routune should ever be written and the Middle East would've been much better off if the world had started an all-out economic war against the US in 2003.

In case you are wondering, I'm Russian, have friends in the Ukraine and destroyed Kiev is the last thing I want.

Jokes about destroying Baghdad are just callous. Especially coming from Americans.


Good thing I'm not American then.

(And the joke I'm referencing is making fun of software ethics, so you're in violent agreement.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: