Click here to Skip to main content
15,886,873 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: I hate recent C# versions! Pin
NiL^7-Sep-22 4:30
NiL^7-Sep-22 4:30 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult7-Sep-22 6:55
mvePIEBALDconsult7-Sep-22 6:55 
GeneralRe: I hate recent C# versions! Pin
OriginalGriff6-Sep-22 6:16
mveOriginalGriff6-Sep-22 6:16 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult6-Sep-22 10:12
mvePIEBALDconsult6-Sep-22 10:12 
GeneralRe: I hate recent C# versions! Pin
OriginalGriff6-Sep-22 10:19
mveOriginalGriff6-Sep-22 10:19 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult6-Sep-22 10:33
mvePIEBALDconsult6-Sep-22 10:33 
GeneralRe: I hate recent C# versions! Pin
MikeCLX6-Sep-22 20:49
MikeCLX6-Sep-22 20:49 
GeneralRe: I hate recent C# versions! Pin
OriginalGriff6-Sep-22 6:11
mveOriginalGriff6-Sep-22 6:11 
It does the null test, declares the new variable, assigns the value and completes the if in one statement. Think of it like the very old C way of doing a for loop:
C
int i;
...
for (i = 0; i < 10; i++) ...
As opposed to the simpler version that was added in C99:
C
for (int i = 0; i < 10; i++) ...
People complained that that was a kludge back then as well! Laugh | :laugh:

I was a sceptic, but once you are used to it you probably won't go back.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult6-Sep-22 6:23
mvePIEBALDconsult6-Sep-22 6:23 
GeneralRe: I hate recent C# versions! Pin
OriginalGriff6-Sep-22 10:23
mveOriginalGriff6-Sep-22 10:23 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult6-Sep-22 10:45
mvePIEBALDconsult6-Sep-22 10:45 
GeneralRe: I hate recent C# versions! Pin
OriginalGriff6-Sep-22 11:26
mveOriginalGriff6-Sep-22 11:26 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult6-Sep-22 11:37
mvePIEBALDconsult6-Sep-22 11:37 
GeneralRe: I hate recent C# versions! Pin
lmoelleb6-Sep-22 2:11
lmoelleb6-Sep-22 2:11 
GeneralRe: I hate recent C# versions! Pin
Nelek6-Sep-22 2:16
protectorNelek6-Sep-22 2:16 
GeneralRe: I hate recent C# versions! Pin
Marc Clifton6-Sep-22 2:57
mvaMarc Clifton6-Sep-22 2:57 
GeneralRe: I hate recent C# versions! Pin
Marc Clifton6-Sep-22 3:00
mvaMarc Clifton6-Sep-22 3:00 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult6-Sep-22 3:33
mvePIEBALDconsult6-Sep-22 3:33 
GeneralRe: I hate recent C# versions! Pin
Graeme_Grant6-Sep-22 21:32
mvaGraeme_Grant6-Sep-22 21:32 
GeneralRe: I hate recent C# versions! Pin
PIEBALDconsult7-Sep-22 2:34
mvePIEBALDconsult7-Sep-22 2:34 
GeneralRe: I hate recent C# versions! Pin
Graeme_Grant7-Sep-22 3:08
mvaGraeme_Grant7-Sep-22 3:08 
GeneralRe: I hate recent C# versions! Pin
Sander Rossel6-Sep-22 3:38
professionalSander Rossel6-Sep-22 3:38 
GeneralRe: I hate recent C# versions! Pin
OriginalGriff6-Sep-22 4:38
mveOriginalGriff6-Sep-22 4:38 
GeneralRe: I hate recent C# versions! Pin
lmoelleb6-Sep-22 3:49
lmoelleb6-Sep-22 3:49 
GeneralRe: I hate recent C# versions! Pin
Eddy Vluggen6-Sep-22 4:24
professionalEddy Vluggen6-Sep-22 4:24 

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.