Re:People in your organization that grow legacy code
by MAGZine on Monday February 24, 2014 @09:37AM
(#7290961)
That could be it. My first glance lead me to think it could all be replaced with an enum rather than 7 switch statements (or, better yet, a library function).
"data" is ambiguous, too. I think that perhaps there are a few errors to demonstrate his point.
Maybe that's a bit of a long shot. Perhaps there's some standard library function -- I don't know Java, but the author seems to assume the reader does throughout the article -- to turn dates/whatever into day number. Maybe his joke is therefore, "OMFG! What a noob!"
In short: I don't get it, either...