Matt Manela's Blog
Farblondzshet in code.
July 2009 - Posts
I finally got fed up with Enum.Parse
24 July 09 09:02 AM
|
MattManela
|
3 Comments
I don’t know why I didn’t do this long ago, but I am done writing this: var val = (SomeEnum)Enum.Parse( typeof (SomeEnum),”someString”); I have typed this too many times and it annoys me. I wrote a small extension method on the string type to make
Read More...
DRY and Unit Tests don’t mix well
12 July 09 08:08 PM
|
MattManela
|
0 Comments
When reading source code, I sometimes come across unappealing code(sometimes even my own). However, there is one kind of “bad code” I see quite frequently. It is a set of unit tests which have had the DRY (Don't Repeat Yourself) principle
Read More...
Search
This Blog
Home
About
Email
Tags
Applications
ASP .NET
ASP .NET MVC
C#
CLR
Codeplex
Comic
Downloads
F#
Funny
Games
Haskell
HTML
Internet Explorer
J
JavaScript
JQuery
LINQ
Moq
MSDN Code Gallery
PC
Personal
Powershell
pro
Programming
Project Euler
Random Thoughts
Regular Expression
RTF
Silverlight
Snippet Designer
Snippets
SQL CE
testing
Tools
Ubuntu
Visual Basic
Visual Studio
WHAT!
Windows
WPF
XAML
Archives
November 2009 (1)
September 2009 (1)
July 2009 (2)
May 2009 (1)
April 2009 (2)
March 2009 (3)
February 2009 (1)
January 2009 (2)
December 2008 (2)
November 2008 (2)
October 2008 (1)
September 2008 (3)
August 2008 (5)
July 2008 (1)
June 2008 (4)
May 2008 (3)
April 2008 (4)
March 2008 (8)
February 2008 (3)
January 2008 (3)
December 2007 (7)
November 2007 (4)
October 2007 (3)
August 2007 (2)
Sites of Interest
XKCD
Mallory Emerson's Blog
Dori Manela's Blog
Peter Langsam's Blog
Joe Morel's Blog
Technical Blogs
Sara Ford's Blog
Beth Massi's Blog
Syndication
RSS 2.0
Atom 1.0
Farblondzshet