Click here to Skip to main content
15,392,099 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.

 
GeneralNET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
BillWoodruff15-Sep-20 15:18
mveBillWoodruff15-Sep-20 15:18 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Super Lloyd15-Sep-20 15:42
MemberSuper Lloyd15-Sep-20 15:42 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 16:09
professionalJon McKee15-Sep-20 16:09 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Super Lloyd15-Sep-20 16:20
MemberSuper Lloyd15-Sep-20 16:20 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 17:20
professionalJon McKee15-Sep-20 17:20 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Super Lloyd15-Sep-20 19:32
MemberSuper Lloyd15-Sep-20 19:32 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson15-Sep-20 20:40
professionalJörgen Andersson15-Sep-20 20:40 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 21:33
professionalJon McKee15-Sep-20 21:33 
I like the variable is object notation Thumbs Up | :thumbsup: And yea, I guess it's a byproduct of adding not that we get yet another way to test for null.

Some TIL if interested:

I've been playing around with the various ways to perform these checks and it turns out it's all stylistic choice from an IL perspective[1]. Any check equivalent to != null gets translated to ldnull and cgt.un (including is object) and any check equivalent to == null gets translated to ldnull and ceq.

[1]: Except if the equality operator is overloaded in which case is forces the default equality operator (and the IL above) whereas == and != use the overloaded operator via call bool X::op_Inequality(class X, class X).

modified 16-Sep-20 3:44am.

GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson15-Sep-20 21:41
professionalJörgen Andersson15-Sep-20 21:41 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 21:44
professionalJon McKee15-Sep-20 21:44 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson15-Sep-20 21:50
professionalJörgen Andersson15-Sep-20 21:50 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
BillWoodruff16-Sep-20 0:09
mveBillWoodruff16-Sep-20 0:09 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
  Forogar  16-Sep-20 5:14
professional  Forogar  16-Sep-20 5:14 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
#realJSOP16-Sep-20 0:14
mva#realJSOP16-Sep-20 0:14 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson16-Sep-20 1:09
professionalJörgen Andersson16-Sep-20 1:09 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Stefan_Lang16-Sep-20 0:26
mveStefan_Lang16-Sep-20 0:26 
GeneralBeautiful From Afar Pin
W Balboos, GHB15-Sep-20 6:08
mveW Balboos, GHB15-Sep-20 6:08 
GeneralRe: Beautiful From Afar Pin
MarkTJohnson15-Sep-20 7:36
professionalMarkTJohnson15-Sep-20 7:36 
GeneralRe: Beautiful From Afar Pin
raddevus15-Sep-20 9:45
mvaraddevus15-Sep-20 9:45 
GeneralRe: Beautiful From Afar Pin
obermd16-Sep-20 4:20
Memberobermd16-Sep-20 4:20 
GeneralThought of the Day Pin
OriginalGriff15-Sep-20 5:19
mveOriginalGriff15-Sep-20 5:19 
GeneralRe: Thought of the Day Pin
jeron115-Sep-20 5:29
Memberjeron115-Sep-20 5:29 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani15-Sep-20 12:41
professionalRavi Bhavnani15-Sep-20 12:41 
GeneralRe: Thought of the Day Pin
jeron116-Sep-20 4:07
Memberjeron116-Sep-20 4:07 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani16-Sep-20 17:21
professionalRavi Bhavnani16-Sep-20 17:21 

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.


Straw Poll

Do you feel you fully understand the vision and purpose of the software project you're working on?
Sure you can be told the "what", but do you have the "why"?
  Results   216 votes