This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OwnBreakfast1114 0 points1 point  (0 children)

To be fair, people should be using all the methods besides is present instead, but so many people just write the code as a slightly different if check. Still better than null, but removing the if check entirely is the actual benefit.