Hacker News new | ask | show | jobs
by swiftcoder 2728 days ago
What do you mean, VARCHAR(8) is a perfectly valid way of storing counters...
1 comments

much better to future proof it by using a BLOB. You know, just in case you ever need to shove something else in there.
if you're going to use a BLOB how can you know the type and how to decode it? Make sure to serialize that data with something like protobuf.
Nah, describe it using some custom binary format and have a 1000 page spec to document it!
Yay, seralised bluetooth! ;)