I really like Ruby's Enumerable mixin. Methods like each_slice
and each_with_index
can inspire some really straightforward, elegant solutions.
Porting such a library to C# is trivial, but having to use the 2.0's verbose delegate syntax detracts from the coolness a bit. Using 3.0's lambda expressions on the other hand…
No comments:
Post a Comment