Geeks With Blogs
My Blog geek yapping r#
The slippery slope of "var"
The var keyword has been a rather controversial addition to the C# language. Many developers initially fear it, getting lost in demos that use it. Eventually, they come to understand it as something "lazy" programmers would use and often dismiss it. I've gone through these stages. I even remember my blood boiling when I saw resharper, out of the box, suggest to use it! I never really understood it as anything more than implicit typing. Recently, I decided that I should learn new concepts with new ......

Posted On Thursday, September 24, 2009 3:21 AM

My cool code snippet
I submitted this to the Resharper cool code snippet competition and thought I would share it with everyone else, including why it’s cool! [Test] public void $METHOD$_$SCENARIO$_$EXPECT... { $END$ } I’ve been doing a lot of TDD lately and I am constantly writing new tests. So my number one snippet is one that creates a simple test. I’ve tweaked this template a lot, it started out with a simple test template with only one editable occurance for a name. In “The Art of Unit Testing,” Roy Osherove ......

Posted On Friday, August 21, 2009 11:06 PM

Copyright © Wes McClure | Powered by: GeeksWithBlogs.net