Click here to Skip to main content
15,891,136 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Marco Bertschi2-Mar-17 11:05
protectorMarco Bertschi2-Mar-17 11:05 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Marco Bertschi2-Mar-17 11:07
protectorMarco Bertschi2-Mar-17 11:07 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Marc Clifton3-Mar-17 4:19
mvaMarc Clifton3-Mar-17 4:19 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Jeremy Falcon1-Mar-17 11:15
professionalJeremy Falcon1-Mar-17 11:15 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
David O'Neil1-Mar-17 16:51
professionalDavid O'Neil1-Mar-17 16:51 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Jeremy Falcon2-Mar-17 5:49
professionalJeremy Falcon2-Mar-17 5:49 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Foothill1-Mar-17 11:56
professionalFoothill1-Mar-17 11:56 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
CDP18021-Mar-17 12:11
CDP18021-Mar-17 12:11 
On my personal scale of unmaintainable code that's about 15 of 100. The real grandmasters use such things as mere decoration. Their centerpiece is absolutely uncorrectable. make one little change and everything falls apart like a row of dominos.

What they did? Nothing special. They put a part of the application's logic into the data layer as stored procedures. SQL is great to see what's being done, but you get absolutely no clue to what this is supposed to accomplish. Dozens of SPs with no less than 500 lines already make the whole thing unreadable, but that still does not make it uncorrectable.

The final blow comes from a first unexpected direction. On every table are at list 5 - 10 triggers which do really obscure things under even more obscure circumstances and modify things in other tables, which fires even more triggers. To keep the whole trigger avalanche under control, there are columns in the tables to hold status codes instead of data. Let's forget database design for a second and just try to figure out what status 1, 2, 3, -1 and -112 could mean.

It would have been to easy if any documentation had existed at all and to add insult to injury, the mastermind behind that thing would deny any knowledge, but take any 'unjustified' criticism against his life's work personally. Obviously we were all too dumb to see the true ingenuity behind it all.


And now stop complaining. Smile | :)
The language is JavaScript. that of Mordor, which I will not utter here

This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.

"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."

If software development were a circus, we would all be the clowns.


modified 2-Mar-17 3:31am.

GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Nathan Minier2-Mar-17 2:54
professionalNathan Minier2-Mar-17 2:54 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Marc Clifton2-Mar-17 3:58
mvaMarc Clifton2-Mar-17 3:58 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
CDP18022-Mar-17 4:02
CDP18022-Mar-17 4:02 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Ravi Bhavnani1-Mar-17 16:10
professionalRavi Bhavnani1-Mar-17 16:10 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Jeremy Falcon2-Mar-17 5:50
professionalJeremy Falcon2-Mar-17 5:50 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
ClockMeister2-Mar-17 2:23
professionalClockMeister2-Mar-17 2:23 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
den2k882-Mar-17 2:47
professionalden2k882-Mar-17 2:47 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
ClockMeister2-Mar-17 4:08
professionalClockMeister2-Mar-17 4:08 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Marc Clifton2-Mar-17 4:01
mvaMarc Clifton2-Mar-17 4:01 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
ClockMeister2-Mar-17 4:10
professionalClockMeister2-Mar-17 4:10 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
StarNamer@work2-Mar-17 4:58
professionalStarNamer@work2-Mar-17 4:58 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Steve Naidamast2-Mar-17 3:48
professionalSteve Naidamast2-Mar-17 3:48 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Marc Clifton2-Mar-17 4:02
mvaMarc Clifton2-Mar-17 4:02 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Steve Naidamast2-Mar-17 4:28
professionalSteve Naidamast2-Mar-17 4:28 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
ClockMeister2-Mar-17 4:12
professionalClockMeister2-Mar-17 4:12 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
Steve Naidamast2-Mar-17 4:41
professionalSteve Naidamast2-Mar-17 4:41 
GeneralRe: Now, granted, I don't always write "up to snuff" code... Pin
ClockMeister2-Mar-17 5:16
professionalClockMeister2-Mar-17 5:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.