News for hackers. Stuff that matters.
Re:SQL Keys in Depth by dullgiulio on Tuesday January 02, 2018 @02:47AM (#16050522)
I think the author fell for falsehood 21: http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...
Re:SQL Keys in Depth by ofirg on Tuesday January 02, 2018 @02:58AM (#16050561)
I do not want to belong to any club that would not need to drop a database constraint in order to accept me.
Re:SQL Keys in Depth by dullgiulio on Tuesday January 02, 2018 @03:18AM (#16050628)
Yes, that's the problem. I understand what he wants to say (basically YAGNI), but imagine the reception desk employee having this problem, escalating it until it reaches a developer just to register John Doe.
Re:SQL Keys in Depth by pizza234 on Tuesday January 02, 2018 @03:39AM (#16050700)
I wonder if the parent's reply is actually a joke based on paraphrasing Groucho Marx (the statement itself doesn't have much logical sense).
Re:SQL Keys in Depth by KC8ZKF on Tuesday January 02, 2018 @03:37AM (#16050692)
No he didn't. The "first name/last name" constraint is a straw man for didactic purposes. He's explaining why it never made sense.