Click here to Skip to main content
15,916,042 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: Monday morning sucks Pin
Dycz11-May-14 23:15
professionalDycz11-May-14 23:15 
GeneralRe: Monday morning sucks doubly Pin
5imone11-May-14 23:16
professional5imone11-May-14 23:16 
GeneralRe: Monday morning sucks Pin
S Houghtelin12-May-14 0:40
professionalS Houghtelin12-May-14 0:40 
GeneralRe: Monday morning sucks Pin
Dycz12-May-14 0:53
professionalDycz12-May-14 0:53 
GeneralRe: Monday morning sucks Pin
S Houghtelin12-May-14 1:58
professionalS Houghtelin12-May-14 1:58 
GeneralRe: Monday morning sucks Pin
Tom Deketelaere12-May-14 1:04
professionalTom Deketelaere12-May-14 1:04 
GeneralRe: Monday morning sucks Pin
Dycz12-May-14 1:09
professionalDycz12-May-14 1:09 
GeneralRe: Monday morning sucks Pin
Tom Deketelaere12-May-14 1:19
professionalTom Deketelaere12-May-14 1:19 
I wish there where comments.
To give you a idea at how bad this is (you can compare to your own situation then Smile | :) )
- A method to calculate all the days between 2 given dates that would run for 3 hours without actually doing something (hint year switch mend the loop went on until an integer overflow happened,
not sure how to explain it in English correctly but you probably get the idea)
- A class that inherits from another class that inherits from another class that... (about 5 or 6 layers deep).
- A helper class that has only 2 or 3 methods in it but is 5000+ lines code.
- A function called Convert... that actually updates the database (take a guess at how long it took me to find that bug)
- Update = delete + insert (without transactions) (got most of that out of it (I hope))
- A function called Add... that actually doesn't do adds (well not only adds, also updates (see previous) and deletes)

And then I'm not even touching the fact that EF was used in totally wrong way resulting in massive memory usage (8gig+ to get only 50 records) (got most of that out of it as well I think)

So yeah it's been a long 8months cleaning this mess of a code up and the mess it made in the db's. (and still a long way to go I'm afraid)
GeneralRe: Monday morning sucks Pin
Dycz12-May-14 2:27
professionalDycz12-May-14 2:27 
GeneralRe: Monday morning sucks Pin
Tom Deketelaere12-May-14 2:31
professionalTom Deketelaere12-May-14 2:31 
GeneralRe: Monday morning sucks Pin
jeron112-May-14 4:05
jeron112-May-14 4:05 
GeneralRe: Monday morning sucks Pin
Ravi Bhavnani12-May-14 4:06
professionalRavi Bhavnani12-May-14 4:06 
GeneralRe: Monday morning sucks Pin
Dycz12-May-14 4:12
professionalDycz12-May-14 4:12 
GeneralCCC 12/5/14 Pin
Dalek Dave11-May-14 22:06
professionalDalek Dave11-May-14 22:06 
GeneralRe: CCC 12/5/14 Pin
Nagy Vilmos11-May-14 22:54
professionalNagy Vilmos11-May-14 22:54 
GeneralRe: CCC 12/5/14 Pin
Worried Brown Eyes12-May-14 1:22
Worried Brown Eyes12-May-14 1:22 
GeneralMQOTD Pin
V.11-May-14 21:57
professionalV.11-May-14 21:57 
GeneralRe: MQOTD PinPopular
OriginalGriff11-May-14 22:02
mveOriginalGriff11-May-14 22:02 
GeneralRe: MQOTD Pin
Mendor8111-May-14 22:20
professionalMendor8111-May-14 22:20 
GeneralRe: MQOTD Pin
Karen Mitchelle11-May-14 22:27
professionalKaren Mitchelle11-May-14 22:27 
GeneralRe: MQOTD Pin
Argonia11-May-14 22:05
professionalArgonia11-May-14 22:05 
AnswerRe: MQOTD Pin
Kornfeld Eliyahu Peter11-May-14 22:05
professionalKornfeld Eliyahu Peter11-May-14 22:05 
GeneralRe: MQOTD Pin
Mendor8111-May-14 22:22
professionalMendor8111-May-14 22:22 
GeneralRe: MQOTD Pin
Corporal Agarn12-May-14 1:20
professionalCorporal Agarn12-May-14 1:20 
GeneralRe: MQOTD Pin
Johnny J.12-May-14 1:27
professionalJohnny J.12-May-14 1:27 

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.