Hacker News new | ask | show | jobs
by polemic 740 days ago
In the wise words of Patsy, "it's only a model".

The real world is resistent to clean abstractions and abstractions are distressingly subject to change. What made your row unique today is quite likely to become non-unique in the days/months/years to come.

Always use surrogate keys. Your future self will thank you.

1 comments

And always kids, write code for one person, and one person only: your future self.
Yeah, fsck your co-workers and your replacement when you quit.
If you’re good to your future self you’re also good to them.
Invalid argument. Very rarely your future self will work in that company or on the same project. Even if someone plans to keep his job for a long time, writing for his's future self usually means making himself non-replaceable by writing unreadable code.