Click here to Skip to main content
15,887,288 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: Happy birthday Griff! Pin
Slow Eddie24-Feb-23 1:58
professionalSlow Eddie24-Feb-23 1:58 
GeneralRe: Happy birthday Griff! Pin
Sandeep Mewara24-Feb-23 8:02
mveSandeep Mewara24-Feb-23 8:02 
GeneralRe: Happy birthday Griff! Pin
Daniel Pfeffer25-Feb-23 8:41
professionalDaniel Pfeffer25-Feb-23 8:41 
GeneralSimple... wandering of mind on a tiny bit of code style... Pin
Super Lloyd23-Feb-23 17:17
Super Lloyd23-Feb-23 17:17 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
Sander Rossel23-Feb-23 21:16
professionalSander Rossel23-Feb-23 21:16 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
Super Lloyd24-Feb-23 0:48
Super Lloyd24-Feb-23 0:48 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
Sander Rossel24-Feb-23 5:24
professionalSander Rossel24-Feb-23 5:24 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
DerekT-P27-Feb-23 1:06
professionalDerekT-P27-Feb-23 1:06 
In most cases it's ridiculous, yes. It's not a construct I think I've used myself. However...
What if b is null? Suppose b is a lazy-loaded property which is only instantiated as/when referenced, but a does not support that functionality? Or - in the circumstances where you use the GetBC function you need a default value returned if b or c are null.

I'd agree that if GetBC does nothing more than return b.c then yes, it's pointless; but if there's code in that function (even just exception handling) then maybe... though a more descriptive/specific name than simply GetBC might be appropriate.
Telegraph marker posts ... nothing to do with IT
Phasmid email discussion group ... also nothing to do with IT
Beekeeping and honey site ... still nothing to do with IT

GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
trønderen24-Feb-23 8:59
trønderen24-Feb-23 8:59 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
jschell24-Feb-23 10:21
jschell24-Feb-23 10:21 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
Marc Clifton24-Feb-23 1:14
mvaMarc Clifton24-Feb-23 1:14 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
MarkTJohnson24-Feb-23 2:20
professionalMarkTJohnson24-Feb-23 2:20 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
englebart26-Feb-23 15:47
professionalenglebart26-Feb-23 15:47 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
Slacker00724-Feb-23 2:47
professionalSlacker00724-Feb-23 2:47 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
PIEBALDconsult24-Feb-23 2:54
mvePIEBALDconsult24-Feb-23 2:54 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
Gerry Schmitz24-Feb-23 8:09
mveGerry Schmitz24-Feb-23 8:09 
GeneralRe: Simple... wandering of mind on a tiny bit of code style... Pin
PIEBALDconsult24-Feb-23 9:47
mvePIEBALDconsult24-Feb-23 9:47 
GeneralWordle 615 Pin
StarNamer@work23-Feb-23 13:22
professionalStarNamer@work23-Feb-23 13:22 
GeneralRe: Wordle 615 Pin
Amarnath S23-Feb-23 13:38
professionalAmarnath S23-Feb-23 13:38 
GeneralRe: Wordle 615 Pin
Shane010323-Feb-23 18:15
Shane010323-Feb-23 18:15 
GeneralRe: Wordle 615 Pin
OriginalGriff23-Feb-23 18:16
mveOriginalGriff23-Feb-23 18:16 
GeneralRe: Wordle 615 Pin
Sandeep Mewara23-Feb-23 18:23
mveSandeep Mewara23-Feb-23 18:23 
GeneralRe: Wordle 615 - three 4 me Pin
pkfox23-Feb-23 20:17
professionalpkfox23-Feb-23 20:17 
GeneralRe: Wordle 615 - 3/6 Pin
jmaida24-Feb-23 15:31
jmaida24-Feb-23 15:31 
GeneralRe: Wordle 615 Pin
ChandraRam23-Feb-23 20:36
ChandraRam23-Feb-23 20:36 

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.