Re:New Features in C# 6 (2014)
by _pmf_ on Monday January 12, 2015 @05:57AM
(#8873238)
I've always wondered why a feature with so much benefits and such low implementation overhead has not been implemented a long time ago.
[ Parent
| on HN ]
Re:New Features in C# 6 (2014)
by akoeplinger on Monday January 12, 2015 @07:10AM
(#8873449)
There are many edge cases you need to consider, so a seemingly simple language feature can become hard to get right quickly.
I highly recommend reading through https://roslyn.codeplex.com/discussions/570551 and the other four revisions of the nameof() spec, they do a very good job at explaining the tradeoffs of each design.