by batou · 11y ago · 0 comments
The coalesce operator in C# 5 is welcome but then introduces another problem:
var x = myObject?.Property1?.Property2?.Property3;
If x is null, why and where?This is all in-memory manipulation of data. Mainly rules engine stuff for us.
A line like that is just lazy. I'm more keen to blame the developer and not the language. Striking nails with your fists as they say.