Y
Hacker News
new
|
ask
|
show
|
jobs
by
dvh
1464 days ago
I use integer surrogate keys everywhere. So 1 yes, 2 no, 3 unset, 4 yes but no every other Friday, 5 use this option for customer x, 6 no with notes, 7 zebra, 8...
2 comments
Volundr
1464 days ago
I'm pretty sure I've worked on this codebase...
link
marginalia_nu
1464 days ago
With some 4.2 billion integers to choose from, you can pretty much put everything in one enum. Genius!
link