DEV Community

Discussion on: The .NET Stacks #52: 🎂 Happy birthday to us

Collapse
 
jayjeckel profile image
Jay Jeckel

I can't believe they went with the double exclamations, it's so ugly. I personally think it should have been done automatically when nullable is enabled and a reference type isn't marked as nullable; otherwise, use an attribute. If it had to be a new language symbol, then it should have been an exclamation after the type, just as the question mark is done. I don't know where this fascination with exclamations after variable names came from, first it was one and now it's two, but it needs to end.

That aside, record structs and the field magic variable have address my top two wishlist items, so overall this is sounding like awesome progress.

Collapse
 
daveabrock profile image
Dave Brock

Yeah, I agree. I don't like !! at all, much like I don't like ??, either. It doesn't help the ever-expanding mental model of absorbing all C# has to offer, and isn't very beginner-friendly, IMO. I am excited to get this and the record structs. Thanks for reading!