Hacker News new | ask | show | jobs
by clueless123 5055 days ago
Quick example of legacy architecture tricling all the way up to today's java code: as of 2005 the largest travel network in the world, still used bit twirling on a byte to record the frequencies of flights.. on a flat file! 10000000 - monday 10100000 - monday and wednesday and so on ...

of course there was no documentation whatsoever to figure out what was going on :)

1 comments

Many languages support using a bit vector as a set of enumerated values. Loading this byte into a suitable variable and checking it in the language debugger would be clear.