CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jay Kimble -- The Dev Theologian

Philosophizing about the .Net religion

I'm a Generics Junkie...

I have a confession to make.  You may think it's so 2005, but nonetheless, I'm discovering an addiction that I have.  I love generics!  I know again it's kind of a late confession.

I've loved them before for no longer having to write collection code, but the bigger thing for me has been some of the interesting enhancements that I have found within the generics classes.

One of the things I've discovered is the cool generic methods like exists, find, etc. that can take an anonymous method -- using "delegate(params) {}" where you can pretty provide a function body that is within the scope of where you are currently working (it feels very similar to JavaScript's inline functions support).

I have become so addicted to these new methods that recently I was working with some code where I really need to split a string, and I went the extra effort to convert this to a List<> (I need to change it back... I really didn't need a generic... I just feel more comfortable with a generic)

Darn you ScottGu!  Anyone know of a 12-step program?



Check out Devlicio.us!

This Blog

Syndication

News

CodeBetter.Com Home
Current Threat level
Terror Alert Level