DEV Community

Discussion on: Happy New ... C# 9 Features

Collapse
rionmonster profile image
Rion Williams Author

Yeah, I agree.

I’ve been spending a good bit of my time writing Kotlin recently, which went all in on this type of decoration/safety, but at the compiler-level. It’s handy since the declarations will guide use your decision making in what can/cannot be null and the compiler will put its foot down and break the build if it suspects any funny business.

I think it’s one of the weakest features out of the bunch and is really just syntactic sugar.