Sanding our assholes with 150 grit. Slowly. Lovingly.

Bad code again

Here is another symptom of bad code, bad non object oriented java code.

7000 lines of code, 2 methods.  One method retr

This is one of the methods (from our product code, dont tell):

public String getFrontPage() {
  return this.frontPage;
}

So, the other 7000 lines are, guess what, in one method.
Permalink Bot Berlin 
July 30th, 2007 1:28pm
i didnt even know this is possible, as java has limits on methods.
Permalink Bot Berlin 
July 30th, 2007 1:30pm
this is the scm's job. when someone checks in code with ginormous methods, their manager should get emailed and their picture projected out onto the parking lot with "dumbass" right below.
Permalink heartsheep 
July 30th, 2007 2:15pm
Thanks for pointing that out, Bot.  I look forward to getting the modified code, refactored, tested, and deployed.

Thanks!
Permalink Send private email Bot's Boss 
July 30th, 2007 2:54pm
I feel your pain.  We just had a technical interview here for a candidate.  While his availability and price are good, his competency was somewhat lacking.  When asked to sort an array of integers, he could not.
Permalink Send private email Clay Dowling 
July 30th, 2007 3:58pm
I'd like to point out that this is the second round of screening.
Permalink Send private email Clay Dowling 
July 30th, 2007 3:59pm
integers? Who uses integers these days. So old fashioned. You need to get real!
Permalink Kthx Bai 
July 30th, 2007 4:20pm

This topic is archived. No further replies will be accepted.

Other topics: July, 2007 Other topics: July, 2007 Recent topics Recent topics