News for hackers. Stuff that matters.
Re:C# Pattern Matching by earenndil on Wednesday February 05, 2020 @03:16AM (#22244920)
why not add an operator so you can say (x !is null)?
Re:C# Pattern Matching by gregoryl on Wednesday February 05, 2020 @05:17AM (#22245517)
Largely because (x is null) is a silly workaround to an uncommon and easily avoided problem (bad operator overloading).