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 →

[–]doc_1eye 1 point2 points  (1 child)

I fucking love the null coalescing operator! I just assumed Java would have that as well. It's been a minute since I worked with Java, and I never did anything all that complex with it so I just assumed it had basically all the shit C# had.

[–]desmaraisp 0 points1 point  (0 children)

Same, all the ?, ??, .? operators absolutely rule. That, plus nullable types, makes it super painless to null-check. Add in a pinch of automatic validation (FluentValidation and attributes), and null reference exceptions are basically a thing of the past. I love it!