Click here to Skip to main content
15,919,778 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: Thanksgiving Pin
BillWoodruff27-Nov-14 7:51
professionalBillWoodruff27-Nov-14 7:51 
GeneralRe: Thanksgiving Pin
Jeremy Falcon27-Nov-14 10:17
professionalJeremy Falcon27-Nov-14 10:17 
GeneralRe: Thanksgiving Pin
Rage27-Nov-14 21:24
professionalRage27-Nov-14 21:24 
GeneralWestell 7500 Wireless DSL Router (Verizon) Pin
Marc Clifton27-Nov-14 4:21
mvaMarc Clifton27-Nov-14 4:21 
GeneralIs it familiar for you? PinPopular
Kornfeld Eliyahu Peter27-Nov-14 4:19
professionalKornfeld Eliyahu Peter27-Nov-14 4:19 
GeneralRe: Is it familiar for you? Pin
Marc Clifton27-Nov-14 4:26
mvaMarc Clifton27-Nov-14 4:26 
GeneralRe: Is it familiar for you? Pin
Kornfeld Eliyahu Peter27-Nov-14 5:22
professionalKornfeld Eliyahu Peter27-Nov-14 5:22 
GeneralRe: Is it familiar for you? Pin
Marc Clifton27-Nov-14 5:43
mvaMarc Clifton27-Nov-14 5:43 
Kornfeld Eliyahu Peter wrote:
At least you got payed for (I hope so!)


Yes quite, but it's interesting how frustrating the process can be, working with crappy code. To give you an example, I took one function with 20 or so property "setters" all hand-coded against a database table and replaced the whole thing with one line of Linq and some reflection.

Now, imagine dozens of these functions, because there are dozens of these tables, each of which was hand-coded, and all of which, comprising thousands and thousands of lines of code, could be reduced to my one line general purpose function.

And no, performance is not an issue, using reflection is just fine, etc.

And this code was written by someone (around Jan of 2014) claiming to have 20 years of experience and degrees in Computer Science.

Argh. It's really strange, but I can actually "hear" the code screaming, like a deformed baby from some horror movie. It sure needs a lot of healing. Sigh | :sigh:

Marc

GeneralRe: Is it familiar for you? Pin
jschell27-Nov-14 6:07
jschell27-Nov-14 6:07 
GeneralRe: Is it familiar for you? Pin
Marc Clifton27-Nov-14 7:44
mvaMarc Clifton27-Nov-14 7:44 
GeneralRe: Is it familiar for you? Pin
jschell30-Nov-14 6:04
jschell30-Nov-14 6:04 
GeneralRe: Is it familiar for you? Pin
Sander Rossel27-Nov-14 20:52
professionalSander Rossel27-Nov-14 20:52 
GeneralRe: Is it familiar for you? Pin
Adriaan Davel27-Nov-14 20:39
Adriaan Davel27-Nov-14 20:39 
GeneralRe: Is it familiar for you? Pin
Fabio Franco28-Nov-14 5:35
professionalFabio Franco28-Nov-14 5:35 
GeneralA nice working day Pin
Jochen Arndt27-Nov-14 3:12
professionalJochen Arndt27-Nov-14 3:12 
GeneralRe: A nice working day Pin
OriginalGriff27-Nov-14 3:14
mveOriginalGriff27-Nov-14 3:14 
GeneralRe: A nice working day PinPopular
Nagy Vilmos27-Nov-14 3:21
professionalNagy Vilmos27-Nov-14 3:21 
GeneralRe: A nice working day Pin
Jochen Arndt27-Nov-14 3:26
professionalJochen Arndt27-Nov-14 3:26 
GeneralRe: A nice working day Pin
Jochen Arndt27-Nov-14 3:22
professionalJochen Arndt27-Nov-14 3:22 
GeneralHappy Mercamas! Pin
Nagy Vilmos27-Nov-14 2:43
professionalNagy Vilmos27-Nov-14 2:43 
GeneralRe: Happy Mercamas! Pin
OriginalGriff27-Nov-14 2:46
mveOriginalGriff27-Nov-14 2:46 
GeneralRe: Happy Mercamas! Pin
H.Brydon27-Nov-14 7:08
professionalH.Brydon27-Nov-14 7:08 
GeneralRe: Happy Mercamas! Pin
Ravi Bhavnani27-Nov-14 5:06
professionalRavi Bhavnani27-Nov-14 5:06 
GeneralRe: Happy Mercamas! Pin
CDP180227-Nov-14 9:52
CDP180227-Nov-14 9:52 
GeneralRe: Happy Mercamas! Pin
XH558v28-Nov-14 3:28
XH558v28-Nov-14 3:28 

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.