Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on People in your organization that grow legacy code. Parent comment
String[] names = { "UNUSED", "Monday", "Tuesday", ... } try { return names[i]; } catch(ArrayIndexOutOfBoundsException uhoh) { return "???"; }
Look, at least it's not a pile of @Inject DayOfWeekLookupAdapter dayOfWeekLookupAdapter with attendant 100kB Spring XML config, of which the unit tests will have their very own special cut and pasted copy. No, I'm not bitter at all.
There are no comments on this comment yet.
Look, at least it's not a pile of @Inject DayOfWeekLookupAdapter dayOfWeekLookupAdapter with attendant 100kB Spring XML config, of which the unit tests will have their very own special cut and pasted copy. No, I'm not bitter at all.