by Peaker · 12y ago · 0 comments
Rather, it "evolves".
It starts as:
return foo == null ? error_handler(bar) : foo;
And someone realizes error_handler actually does nothing, so replaces all calls with null, mechanically.Or maybe it's just stupid.
Sometimes you just can't tell the difference.
The same is probably true for this one here:
public bool ShowOptional() { bool bolReturn = false;
return bolReturn;
}There should be descriptions why the code snippets are supposed to be interesting, your and my example just look like legacy code to me.