Click here to Skip to main content
15,894,405 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: My warmest greetings on very Merry Christmas and Happy New Year of 2022!!! Pin
Arthur V. Ratz20-Dec-21 5:57
professionalArthur V. Ratz20-Dec-21 5:57 
GeneralRe: My warmest greetings on very Merry Christmas and Happy New Year of 2022!!! Pin
Eddy Vluggen20-Dec-21 9:29
professionalEddy Vluggen20-Dec-21 9:29 
GeneralRe: My warmest greetings on very Merry Christmas and Happy New Year of 2022!!! Pin
peterkmx20-Dec-21 7:34
professionalpeterkmx20-Dec-21 7:34 
GeneralRe: My warmest greetings on very Merry Christmas and Happy New Year of 2022!!! Pin
Arthur V. Ratz20-Dec-21 7:45
professionalArthur V. Ratz20-Dec-21 7:45 
GeneralRe: My warmest greetings on very Merry Christmas and Happy New Year of 2022!!! Pin
Slow Eddie20-Dec-21 9:49
professionalSlow Eddie20-Dec-21 9:49 
GeneralChristmas Carol of The Day: Pin
OriginalGriff20-Dec-21 4:28
mveOriginalGriff20-Dec-21 4:28 
JokeRe: Christmas Carol of The Day: Pin
Daniel Pfeffer20-Dec-21 4:42
professionalDaniel Pfeffer20-Dec-21 4:42 
GeneralExpression bodies vs Good Old Fashioned Functions Pin
Chris Maunder20-Dec-21 4:00
cofounderChris Maunder20-Dec-21 4:00 
I'm browsing through the labyrinth of MSDN and I am seeing more and more use of expression bodies.

eg
C#
public MyObject(string name, string data) =>
     (_name, _data) = (name, data);
as opposed to
C#
public MyObject(string name, string data)
{
    _name = name;
    _data= data;
}
This makes me feel old because it reminds me of when we used to cram our code into as small a space as possible to handle 25 line screens.

Maybe this is like skinny jeans: in a year's time it'll all be over.
cheers
Chris Maunder

GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
k505420-Dec-21 4:14
mvek505420-Dec-21 4:14 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
trønderen20-Dec-21 5:23
trønderen20-Dec-21 5:23 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Mark Whybird21-Dec-21 16:19
Mark Whybird21-Dec-21 16:19 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Slow Eddie20-Dec-21 4:23
professionalSlow Eddie20-Dec-21 4:23 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
ElectronProgrammer20-Dec-21 6:03
ElectronProgrammer20-Dec-21 6:03 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
trønderen20-Dec-21 6:25
trønderen20-Dec-21 6:25 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
David O'Neil20-Dec-21 6:48
professionalDavid O'Neil20-Dec-21 6:48 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Rich Shealer21-Dec-21 2:46
Rich Shealer21-Dec-21 2:46 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
David O'Neil21-Dec-21 12:40
professionalDavid O'Neil21-Dec-21 12:40 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
James Lonero23-Dec-21 7:15
James Lonero23-Dec-21 7:15 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Marc Clifton20-Dec-21 8:46
mvaMarc Clifton20-Dec-21 8:46 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Slacker00720-Dec-21 8:54
professionalSlacker00720-Dec-21 8:54 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
trønderen20-Dec-21 12:22
trønderen20-Dec-21 12:22 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Peter Adam20-Dec-21 20:30
professionalPeter Adam20-Dec-21 20:30 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
James Lonero23-Dec-21 7:39
James Lonero23-Dec-21 7:39 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
James Lonero23-Dec-21 7:12
James Lonero23-Dec-21 7:12 
GeneralRe: Expression bodies vs Good Old Fashioned Functions Pin
Gary R. Wheeler20-Dec-21 7:14
Gary R. Wheeler20-Dec-21 7:14 

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.