News for hackers. Stuff that matters.
Re:Programming language comparison by reimplementing the sam... by jolux on Monday October 24, 2022 @11:36AM (#33318088)
> I also don’t think C# will prevent you from forgetting to do a if null check in cases where you expect values to sometimes be null.

It should throw a warning in situations where a non-nullable value is not clearly non-null when it’s dereferenced. So you won’t get a warning in the body of a method declaration with a non-billable parameter, for example, but you will get a warning if you attempt to pass null into it.

There are no comments on this comment yet.