Zhanga: December 15, 2007
The comments are at the bottom of the page. You can view old posts by clicking the months on the left sidebar. RSS feed.
« Dec 11, 2007 | All December 2007 posts | Dec 20, 2007 »Saturday, December 15, 2007 (0 comments)
After another programming marathon and a presentation which included a live demo of our creation, the professor asked on the spot if any of us would be interested in a summer job with him.
Oh, boy. Wait until he reads the actual code. Ok, well, it wasn't
that bad (ever read The Daily
WTF?), but it did cause a fair amount of brain trauma. Here's an
if (potential employers note: this wasn't my code!):
if(!((((String) myFieldTypes.get(i).getSelectedItem()).startsWith("OR:"))
|| (((String) myFieldTypes.get(i).getSelectedItem()).startsWith("EN:"))))
{ ... }
You know it's a sign of great style when your line starts with
if(!(((( and checks for two unexplained string literals.
11:00PM
Older posts can be viewed through the links to the left, under the main menu.
121 hits since April 28, 2008.
Comments
[no comments yet]
Add a Comment