Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Code Quality   (RSS)

Correct by Construction in F#

Correct by Construction in F# Jomo Fisher—a theme in the design of the F# language is that problems in the code are revealed as compilation errors. Consider this C# code which is used to compose a courteous letter to a customer: enum Courtesy { Mr, Ms,
Posted by Jomo Fisher | 8 Comments
Filed under: ,

Leaky Functions\Barrel of Bugs

Jomo Fisher--Pop quiz. Consider this function call in C#: a = MyFunction(b); What information is exchanged between the caller and the function? When is the information exchange done? It would be nice if the answer was: MyFunction takes value b and returns
Posted by Jomo Fisher | 14 Comments
Filed under: ,

Code Quality Tip #3: Switch Gears, Eat your Dogfood

Jomo Fisher --Recently, the whole C# product unit took a week off from our regular work to do some App Building . We split up into teams and competed to see who could build the coolest application and find the most bugs in VS 2005. Given where we are
Posted by Jomo Fisher | 1 Comments
Filed under: ,

Hack the Build: Use the Whole Test-First Whale

Jomo Fisher--Writing code with Test-Driven-Development (TDD) takes about 30% longer than writing code without it. This was my experience on MSBuild. Still, as I noted here and here, I’m a fan of TDD. Code quality tip #2 explains why...
Posted by Jomo Fisher | 2 Comments
Filed under: , ,

Hack the Build: Code Quality and Test Driven Development at Microsoft

Jomo Fisher--I mentioned a while ago that MSBuild team uses Test Driven Development (TDD). Afterwards, several people expressed interest in the general development process at Microsoft. Code Quality is an area that I care deeply about and I’ve tried a
Posted by Jomo Fisher | 4 Comments
Filed under:
 
Page view tracker