- 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
This beggars belief.
Admin
For once you (the buyer) actually get what you pay for. You don't get what you want necessarily, but you are getting what you paid for.
Anyone using a LOC metric that has no QC on the delivered results totally deserves the fiscal raping they will justly receive.
Admin
This is what happens anytime the client is not doing proper independent reviews.... but it could be even worse (so much depends). I have done forensic analysis as an SME to give deposition/evidence if there was malfeasance, or simple poor practices (or things in between).. This could be evidence of the former.
Admin
Worse than "pay by lines of code" is paying by lines of code without demanding even a code formatter to be used.
Admin
Love the spelling mistake
He wasn't aware about the clause that deducts lines that are not correctly indented and ended up owing them money.
Admin
If you want formatting, you should have picked the "pay by character" option.
Admin
This sounds like the code is straight out of a gotcha game lol
Admin
Lines of Code. Get paid by them.
Admin
Those conditions checks in the code are just stellar!
((1>0) && (0<1)) || (((21+3)==24) && (3<=3)) || (0 != 1)
is probably one of the most complex equivalent totrue
they could have thought of.Admin
This is exactly why I'm pretty sure this is real code and Brittany did find it somewhere. Crap like this - nobody can make it up.
Admin
In Ada, the normal measure was the number of semicolons (outside strings & comments, ofc).
Admin
That spelling is intentional. It's a more light-hearted version of the word without the "o" included.
Admin
I'm gonna write me a minivan!
Admin
In my experience offering to pay by the LOC is a good interview question if you are the kind to lay traps for people. Anyone who seems keen can go to the reject pile.
Admin
What company is stupid enough to pay by the line? It's an invitation for abuse! Also, they clearly didn't review the code afterwards, or they would have stopped offering this option...
Admin
you found the one and ONLY situation where spaces are preferable over tabs. chapeau!
Admin
"This is what happens anytime the client is not doing proper independent reviews..." - This, completely. My most previous job involved a marketing agency that had sent all their web development offshore, managed by account executives who had no technical background. They just threw the assignment over a wall, and six months they got a web site back and they couldn't understand why they looked awful and ran poorly, and took such a long time to modify or update.
Admin
Misspelled bragging in the comments? Check.
Admin
The parent of the company I work for evaluates us based on 'escaped' defects/kloc. The "kloc counter" tool isn't that sophisticated. It'll treat code wrapped in a "#if 0" block as executable code. It will really only detects comments vs not-comments.
Find a more efficient way to do something? Leave the old code in, just #ifdef'd out. Many other fun games get played.
Admin
A true connoisseur of classic Dilbert. I approve.
Admin
Well, pretty clearly SOMEBODY made it up...
Admin
This post is very very very very very very very very very very very very very very interesting.
Admin
It's not misspelled, it's phonetic.
Admin
"This is what happens anytime the client is not doing proper independent reviews.... but it could be even worse" Yeah, they could pay the reviewers by lines read....
Admin
Well of course they didn't do a code review. If you did a code review, you might just as well do the coding yourself in the first place.
(HHOS, from a place where coding is not a big enough part of the job to hire people based on their programming kills.)
Admin
Devs should get bonuses based on number of lines of code REMOVED also.
Admin
The real game is writing complex and confusing production code that is active but leaves the system in the exact same state it was before it started by undoing all of its own work by the end. And to do this in a way that passes code review. :)
Like x = 1 + 1 but you write x = 1 + 3 - 2 + 5 - 1 - 4
Admin
That code could use more factories of factories, and as discussed yesterday every number should be its own constant.
There are many ways to add more lines.
Admin
I also realize a typical strategy here is to find out how much the client is willing to shell out, and then pad to match that upper bound.
Don't over do it too much because it may cause the client to start looking a tad too closely and ask questions.
Admin
Put("Fuck my life"); Put("Fuck my life"); Put("Fuck my life"); Put("Fuck my life"); ...