Oct 302012
 

A few days ago I went to start a new project using Entity Framework. Like every other relational database in the world, I knew I would need some “lookup value” style tables. Y’know, WidgetStatus, FrobbleType, that sort of thing. EF had never had a good mechanism for quickly defining and referencing these types of lookup tables, but now there is Enum support! I thought this would be perfect, but it turned out to be woefully inadequate. So, I realized that EF still needed a good answer to creating lookup tables. I did some searching, and couldn’t find any good solutions, so I wrote one. Continue reading »

Oct 102012
 

I was sitting in my Operations Management class yesterday, and we were discussing statistical quality concepts such as the Six Sigma movement which the business world has been obsessed with for the last several years. As we were going through the concepts and the statistical calculations, I realized that the same calculations could demonstrate the value of some key ideas in the agile software movement, such as team size and the value of pair programming. Continue reading »

Oct 022012
 

Today, Microsoft announced TypeScript, a brainchild of the famous Anders that adds some type safety to JavaScript. The idea is that TypeScript is a superset of JavaScript, which means that any valid JavaScript is valid TypeScript. But TypeScript gives you some additional goodness such as classes, interfaces, and type safety. You can use these features and use the TypeScript compiler to compile to JavaScript which you then include in your applications. It is very similar to CoffeeScript, but CoffeeScript doesn’t use the idea of a superset, so valid JavaScript isĀ not necessarily valid CoffeeScript.

TypeScript is right up my alley, because I know that JavaScript seems to be all the rage these days, and I have to learn to love it, but I am very reluctant to give up the type safety of languages like C# or F#. I decided to set out and get TypeScript working. It wasn’t too hard, but there were a couple of snags. If you are looking to dive into TypeScript and want to get it hooked into Visual Studio 2012, this post should give you all the info you need to get started. I would expect a guide like this to be created by the TypeScript team and available on their site. But I didn’t see it, so here we go… Continue reading »