r/programming • • Feb 17 '16

Stack Overflow: The Architecture - 2016 Edition

http://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/
1.7k Upvotes

461 comments sorted by

View all comments

Show parent comment

1

u/dccorona Feb 18 '16

Null coalescing is so new to C# I didn't even realize it was already released...how do you miss it already?

Personally, I've not been too bothered to not have it thanks to Optional, but YMMV depending on how much of the code your working with you have control over/is relatively new. Although it's not TOO bad to just wrap something in Optional.ofNullable and move forward.

1

u/[deleted] Feb 18 '16

Hah I use C# at home and Java at work. It's definitely something I've gotten used to using enough that I go to do the same thing in Java and have to convert it to if statements.

1

u/thomasz Feb 18 '16

Maybe he's talking about the ?? operator?