ArticleTypeCodeSOD
by in CodeSOD on 2010-05-26Code generation can be an effective tool for strongly-typing your custom domains if the given domain is constrained to a specific set of values. Acceptable examples would include color names, statuses, and U.S. states, among several others.
In some scenarios it is completely redundant to do so, for example, if you are strongly-typing the alphabet: