Click here to Skip to main content
15,891,513 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: Maybe I should just give up. Pin
Bergholt Stuttley Johnson19-Feb-15 1:01
professionalBergholt Stuttley Johnson19-Feb-15 1:01 
GeneralRe: Maybe I should just give up. Pin
Johnny J.19-Feb-15 1:09
professionalJohnny J.19-Feb-15 1:09 
GeneralRe: Maybe I should just give up. Pin
Bergholt Stuttley Johnson19-Feb-15 1:12
professionalBergholt Stuttley Johnson19-Feb-15 1:12 
GeneralRe: Maybe I should just give up. Pin
Cornelius Henning19-Feb-15 1:48
professionalCornelius Henning19-Feb-15 1:48 
GeneralRe: Maybe I should just give up. Pin
Nicholas Marty19-Feb-15 2:04
professionalNicholas Marty19-Feb-15 2:04 
GeneralRe: Maybe I should just give up. Pin
Johnny J.19-Feb-15 2:14
professionalJohnny J.19-Feb-15 2:14 
GeneralRe: Maybe I should just give up. Pin
Dominic Burford19-Feb-15 2:03
professionalDominic Burford19-Feb-15 2:03 
GeneralRe: Maybe I should just give up. Pin
#realJSOP19-Feb-15 3:50
mve#realJSOP19-Feb-15 3:50 
I'm working on some code of my own creation. It involves retrieving similar (but not identical) data from about half a dozen databases. This data ibnolves medical clinics. Each database source has its own id/naming convention for clinics. Yesterday, I realized that I needed the department name under which each clinic operates. Instead of writing another stored proc to retrieve just this info, I completely ripped out all existing code for the individual data sources, and wrote a single stored proc that returns ALL of the data for a given clinic from all of the database sources, and then spent a couple of hours refactoring the code to use the new data. Benefit - I only have to retrieve the data one time when the app starts up instead of waiting until it's needed (and it WILL be needed). Everything became easier because the data is always available (in a static Globals class).

New programmers (as a rule) would rather code around the problem rather than address the problem directly. Granted, it can be difficult to know when optimizing the code is the right way to go, but still...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013


GeneralRe: Maybe I should just give up. Pin
Nicholas Marty19-Feb-15 2:13
professionalNicholas Marty19-Feb-15 2:13 
GeneralRe: Maybe I should just give up. Pin
Pete O'Hanlon19-Feb-15 2:48
mvePete O'Hanlon19-Feb-15 2:48 
GeneralRe: Maybe I should just give up. Pin
PhilLenoir19-Feb-15 2:57
professionalPhilLenoir19-Feb-15 2:57 
GeneralRe: Maybe I should just give up. Pin
Bergholt Stuttley Johnson19-Feb-15 3:14
professionalBergholt Stuttley Johnson19-Feb-15 3:14 
GeneralRe: Maybe I should just give up. Pin
PhilLenoir19-Feb-15 3:19
professionalPhilLenoir19-Feb-15 3:19 
GeneralRe: Maybe I should just give up. Pin
Bergholt Stuttley Johnson19-Feb-15 3:35
professionalBergholt Stuttley Johnson19-Feb-15 3:35 
GeneralRe: Maybe I should just give up. Pin
rnbergren19-Feb-15 3:26
rnbergren19-Feb-15 3:26 
GeneralWSOCCCOTD Pin
_Maxxx_18-Feb-15 22:53
professional_Maxxx_18-Feb-15 22:53 
GeneralRe: WSOCCCOTD Pin
P0mpeyBoy18-Feb-15 23:00
P0mpeyBoy18-Feb-15 23:00 
GeneralRe: WSOCCCOTD Pin
Agent__00718-Feb-15 23:01
professionalAgent__00718-Feb-15 23:01 
GeneralRe: WSOCCCOTD Pin
_Maxxx_18-Feb-15 23:02
professional_Maxxx_18-Feb-15 23:02 
GeneralRe: WSOCCCOTD Pin
Agent__00718-Feb-15 23:00
professionalAgent__00718-Feb-15 23:00 
GeneralRe: WSOCCCOTD Pin
_Maxxx_18-Feb-15 23:03
professional_Maxxx_18-Feb-15 23:03 
GeneralRe: WSOCCCOTD Pin
OriginalGriff18-Feb-15 23:02
mveOriginalGriff18-Feb-15 23:02 
GeneralRe: WSOCCCOTD Pin
_Maxxx_18-Feb-15 23:03
professional_Maxxx_18-Feb-15 23:03 
GeneralRe: WSOCCCOTD Pin
Pete O'Hanlon18-Feb-15 23:22
mvePete O'Hanlon18-Feb-15 23:22 
GeneralRe: WSOCCCOTD Pin
_Maxxx_18-Feb-15 23:56
professional_Maxxx_18-Feb-15 23:56 

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.