- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
Also old jokes about Florida looking like a peen, and SQL SELECT can't find any users with a clue.
Admin
wow Matt, teel us hao U reely fell.
Admin
Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.
Admin
Wow. I can almost hear that snooty posh accent coming through my computer. Or, is it Cockney? Who can tell the difference?
Admin
Snooty posh. Think Niles Crane but more effeminate.
Admin
Admin
Good for you.
Admin
Nah mate, you are.
Admin
Thank you. I already feared I would have to write that comment myself.
Admin
Admin
I are an even more efficient programmer:
See? Lots of function points, much lest wasted space.
Admin
WTF is up with the trackbacks?
And yeah, code reviews don't happen in the real world.
Admin
My code! The functions do nothing!
Admin
"Like"
Admin
Good one! lol heh heh...
Admin
I think the idea is that blank lines (keeping in mind that in the proposed system semicolons are forced into one-per-line mode and then deleted) don't count.
Admin
@BumbleBeeTuna.... LMAO!!!! :-D
I think the above "coders" are rather over qualified... they should really aspire to McDonalds Floor Sweeping positions.
Admin
I would not trust a twos complement calculated by a manager either. Not even a ones complement.
Admin
Or are there more undisclosed behaviors that make it impossible to refute dohpaz42's line-/statement-counting algorithm?
Admin
I've come across over-enginneered stuff like this before. One program in particular I've inherited is a GUI app which lists Crystal reports and parameters and launches the reports once you've picked them and their respective parameters.
The end-result was perfectly fine and did what was expected. Problem was, if you needed to find out where a particular piece of code was affecting the program results, you'd go through three or four levels of abstraction. Seriously, the previous programmer wrote an N-tiered application for something which could have taken a day or two to do; and not messy either.
My favourite example is where report parameters are referenced. The program has an enum for parameters such as 'REPORT_PAREMATER_0' whose value was zero. It went on from there to about parameter #10 with no consideration that a given report could have more parameters, say 11 or 12.
A relatively green programmer would likely take the enum as gospel and inform all users they could not have more than ten parameters, sorry if I sound arrogant, but changing all references to the enum to literals (for instance Parameter(0) instead of Parameter(REPORT_PARAMETER_0) saved a lot of typing and potential limitations.
I might take it a step further in the future, and comment out the enum, but that might just piss it off.
Admin
Interesting to see this is doing the rounds. One of my apprentices actually wrote this in December 2010 and I submitted it via the plugin, but for some reason that post never showed up on the site. I guess the people I emailed it to also passed it on and eventually it got to someone who took credit for it on here.