Click here to Skip to main content
15,879,326 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: Some C# code that makes me sick... Pin
englebart31-Mar-21 9:48
professionalenglebart31-Mar-21 9:48 
GeneralRe: Some C# code that makes me sick... Pin
Super Lloyd31-Mar-21 13:33
Super Lloyd31-Mar-21 13:33 
GeneralRe: Some C# code that makes me sick... Pin
JP Reyes31-Mar-21 11:30
JP Reyes31-Mar-21 11:30 
GeneralRe: Some C# code that makes me sick... Pin
Super Lloyd31-Mar-21 13:34
Super Lloyd31-Mar-21 13:34 
GeneralRe: Some C# code that makes me sick... Pin
qmartens1-Apr-21 7:24
qmartens1-Apr-21 7:24 
GeneralRe: Some C# code that makes me sick... Pin
Lupestro4-Apr-21 5:13
Lupestro4-Apr-21 5:13 
GeneralRe: Some C# code that makes me sick... Pin
soulesurfer6-Apr-21 2:53
soulesurfer6-Apr-21 2:53 
GeneralRe: Some C# code that makes me sick... Pin
Kiriander6-Apr-21 20:31
Kiriander6-Apr-21 20:31 
I've recently written something similar, except (ok, that's a bad pun) this all is wrapped in a try-catch-log within the main application logic loop, meaning my middle layers often catch low-level exceptions and forward them. I.e. when my HAL throws a "Don't receive any data"-exception, my middle layer catches it and throws it as "Target device sends no data" for the high-level main loop to catch.

That of course is a different situation. You clearly said that's it and nothing additional. Come to think of it, that's another example for "patterns aren't bad, but they can be put to bad use".
GeneralRe: Some C# code that makes me sick... Pin
Member 1194113119-Apr-21 10:55
Member 1194113119-Apr-21 10:55 
JokePalindromes Pin
Cp-Coder29-Mar-21 14:00
Cp-Coder29-Mar-21 14:00 
GeneralRe: Palindromes Pin
Jacquers29-Mar-21 19:26
Jacquers29-Mar-21 19:26 
GeneralRe: Palindromes Pin
Gary Wheeler31-Mar-21 1:48
Gary Wheeler31-Mar-21 1:48 
GeneralRe: Palindromes Pin
englebart31-Mar-21 10:00
professionalenglebart31-Mar-21 10:00 
GeneralRe: Palindromes Pin
Jacquers31-Mar-21 19:33
Jacquers31-Mar-21 19:33 
GeneralRe: Palindromes Pin
Sander Rossel29-Mar-21 19:48
professionalSander Rossel29-Mar-21 19:48 
GeneralRe: Palindromes Pin
Richard MacCutchan29-Mar-21 21:22
mveRichard MacCutchan29-Mar-21 21:22 
GeneralRe: Palindromes Pin
Tony Hill30-Mar-21 3:41
mveTony Hill30-Mar-21 3:41 
GeneralRe: Palindromes Pin
Daniel Pfeffer30-Mar-21 4:31
professionalDaniel Pfeffer30-Mar-21 4:31 
GeneralRe: Palindromes Pin
Jacquers30-Mar-21 8:15
Jacquers30-Mar-21 8:15 
GeneralThe Lunacy Increases Pin
Gerry Schmitz29-Mar-21 12:10
mveGerry Schmitz29-Mar-21 12:10 
GeneralRe: The Lunacy Increases Pin
Greg Utas29-Mar-21 12:48
professionalGreg Utas29-Mar-21 12:48 
GeneralRe: The Lunacy Increases Pin
Jalapeno Bob29-Mar-21 13:39
professionalJalapeno Bob29-Mar-21 13:39 
GeneralRe: The Lunacy Increases Pin
MKJCP30-Mar-21 1:44
MKJCP30-Mar-21 1:44 
JokeRe: The Lunacy Increases Pin
Jalapeno Bob29-Mar-21 13:47
professionalJalapeno Bob29-Mar-21 13:47 
GeneralRe: The Lunacy Increases Pin
Cp-Coder29-Mar-21 14:10
Cp-Coder29-Mar-21 14:10 

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.