Re:C#: No, you don’t get to use the “as” operator any more
by scottdw2 on Friday April 29, 2011 @06:24PM
(#2499224)
Actually... he misses a big use case (stolen from haskell)... Using extension methods (which accept null receivers) and "as" you can get pretty readable straight line code... something like:
Interestingly, built in support for this (w/o the need to write a "LiftName" extension method) almost made it into VB 2008, but it ended up getting cut.
[ Parent
| on HN ]
There are no comments on this comment yet.