Click here to Skip to main content
15,887,485 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: How do you teach a smart newbie? Pin
honey the codewitch20-Jul-20 13:14
mvahoney the codewitch20-Jul-20 13:14 
GeneralRe: How do you teach a smart newbie? Pin
jsc4221-Jul-20 0:10
professionaljsc4221-Jul-20 0:10 
GeneralRe: How do you teach a smart newbie? Pin
honey the codewitch21-Jul-20 1:04
mvahoney the codewitch21-Jul-20 1:04 
GeneralRe: How do you teach a smart newbie? Pin
Marc Clifton22-Jul-20 4:20
mvaMarc Clifton22-Jul-20 4:20 
GeneralRe: How do you teach a smart newbie? Pin
Sander Rossel20-Jul-20 9:39
professionalSander Rossel20-Jul-20 9:39 
GeneralRe: How do you teach a smart newbie? Pin
dandy7220-Jul-20 10:34
dandy7220-Jul-20 10:34 
GeneralRe: How do you teach a smart newbie? Pin
hpcoder224-Jul-20 17:40
hpcoder224-Jul-20 17:40 
GeneralRe: How do you teach a smart newbie? Pin
dandy7227-Jul-20 5:11
dandy7227-Jul-20 5:11 
hpcoder2 wrote:
I disagree - sometimes exceptions are expected, and there is an appropriate course of action that doesn't involve writing to a log


Those situations exist, but they have to be few and far in-between. An empty exception handler is frowned upon by my peers where I work, and while such instances do exist in our code base, they generally have to be commented and agreed upon. Typically it's because we use a (third-party) component that we know will fail under some known circumstances, is expected to fail, and there's nothing we can do about it. However, we do know how to handle the failure as gracefully as we can and carry on...and logging it would just clobber the log with stuff we know about and are anticipating. But these really are about the only acceptable situations.

Sometimes customers have situations you never would have anticipated in a million years, and you don't have access to their systems, so the handler is there to let you know that the unexpected happened. If the handler's silent about it, there's no way you'll never know, and a problem can be unnoticed literally for years, and this is when people chalk it up to a "glitch" (the use of that word is a serious pet peeve of mine).
GeneralRe: How do you teach a smart newbie? Pin
hpcoder227-Jul-20 15:31
hpcoder227-Jul-20 15:31 
GeneralRe: How do you teach a smart newbie? Pin
Garth J Lancaster20-Jul-20 12:46
professionalGarth J Lancaster20-Jul-20 12:46 
GeneralRe: How do you teach a smart newbie? Pin
Marc Clifton22-Jul-20 4:21
mvaMarc Clifton22-Jul-20 4:21 
GeneralRe: How do you teach a smart newbie? Pin
PIEBALDconsult20-Jul-20 13:13
mvePIEBALDconsult20-Jul-20 13:13 
GeneralRe: How do you teach a smart newbie? Pin
Mircea Neacsu20-Jul-20 15:22
Mircea Neacsu20-Jul-20 15:22 
GeneralRe: How do you teach a smart newbie? Pin
Kornfeld Eliyahu Peter20-Jul-20 19:35
professionalKornfeld Eliyahu Peter20-Jul-20 19:35 
GeneralRe: How do you teach a smart newbie? Pin
Marc Clifton22-Jul-20 4:24
mvaMarc Clifton22-Jul-20 4:24 
GeneralRe: How do you teach a smart newbie? Pin
GuyThiebaut20-Jul-20 20:22
professionalGuyThiebaut20-Jul-20 20:22 
GeneralRe: How do you teach a smart newbie? Pin
F-ES Sitecore21-Jul-20 1:27
professionalF-ES Sitecore21-Jul-20 1:27 
GeneralRe: How do you teach a smart newbie? Pin
agolddog21-Jul-20 5:30
agolddog21-Jul-20 5:30 
JokeRe: How do you teach a smart newbie? Pin
englebart21-Jul-20 7:12
professionalenglebart21-Jul-20 7:12 
GeneralRe: How do you teach a smart newbie? Pin
Marc Clifton22-Jul-20 4:26
mvaMarc Clifton22-Jul-20 4:26 
GeneralRe: How do you teach a smart newbie? Pin
Gary R. Wheeler21-Jul-20 15:56
Gary R. Wheeler21-Jul-20 15:56 
GeneralRe: How do you teach a smart newbie? Pin
ormonds22-Jul-20 12:23
ormonds22-Jul-20 12:23 
GeneralProfessional Experience in New Technologies Pin
Richard Andrew x6420-Jul-20 6:38
professionalRichard Andrew x6420-Jul-20 6:38 
GeneralRe: Professional Experience in New Technologies Pin
Richard MacCutchan20-Jul-20 6:51
mveRichard MacCutchan20-Jul-20 6:51 
GeneralRe: Professional Experience in New Technologies Pin
Richard Andrew x6420-Jul-20 7:08
professionalRichard Andrew x6420-Jul-20 7:08 

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.