[Quote]:
So, as a public service, I’m going to list assumptions your systems probably make about names. All of these assumptions are wrong. Try to make less of them next time you write a system which touches names.
|
[Quote]:
At 7 a.m. on January 20, 2007, DEA agents battered down the door to Thomas and Rosalie Avina’s mobile home in Seeley, California, in search of suspected drug trafficker Louis Alvarez. Thomas Avina met the agents in his living room and told them they were making a mistake. Shouting “Don’t you fucking move,” the agents forced Thomas Avina to the floor at gunpoint, and handcuffed him and his wife, who had been lying on a couch in the living room. As the officers made their way to the back of the house, where the Avina’s 11-year-old and 14-year-old daughters were sleeping, Rosalie Avina screamed, “Don’t hurt my babies. Don’t hurt my babies.”
The agents entered the 14-year-old girl’s room first, shouting “Get down on the fucking ground.” The girl, who was lying on her bed, rolled onto the floor, where the agents handcuffed her. Next they went to the 11-year-old’s room. The girl was sleeping. Agents woke her up by shouting “Get down on the fucking ground.” The girl’s eyes shot open, but she was, according to her own testimony, “frozen in fear.” So the agents dragged her onto the floor. While one agent handcuffed her, another held a gun to her head.
Moments later the two daughters were carried into the living room and placed next to their parents on the floor while DEA agents ransacked their home. After 30 minutes, the agents removed the children’s handcuffs. After two hours, the agents realized they had the wrong house—the product of a sloppy license plate transcription—and left.
|
|
Good stuff. Thing is, you need to either find really good platform support for these kinds of things, or you end up making assumptions just to get something “done”. One of the annoying things with moves to newly fashionable languages is the loss of rich existing libraries, etc.
One of the annoying things about moving to an elderly legacy system is the former programmers who started out on it when it was newly fashionable. They were full of the joys of discovery and wanted to show off their party tricks. What were they thinking?
One of the really annoying things is that I did it as well, long ago. What was I thinking?
I find it hilarious how people lashed out in the comments “so what should we do?” and “who would need all these rules?” when all the guy said: next time think before you implement name handling.
Instead of assumptions, make decisions.
But that flew over the head of a lot of the commenters.
And that comment was supposed to go to the “Falsehoods programmers believe about names” post.