InfoQ

InfoQ

Editor Specific Content View

All of Jon Skeet's Content on InfoQ


Latest featured content by Jon Skeet

Save the Day with Noda Time

Topics
QCon,
.NET,
API,
Programming,
Conferences,
QCon London 2010,
Date&Time

Jon Skeet presents Noda Time, a .NET port of Joda Time which is a Java library for handling date and time. Skeet discusses the troubles handling date and time with the standard .NET API, and how Noda Time simplifies and solves those issues.

Code Contracts in C#

Topics
C#,
.NET Languages,
.NET,
Unit Testing,
Design,
Code Contracts,
TDD,
Testing,
Programming,
Design by Contract

This article discusses the concepts and ideas of Code Contracts and the way they are handled in C#. Unless you happen to have used a language supporting Design by Contract before, you may sometimes find yourself unsure of how to proceed with Code Contracts. If you're using it in conjunction with Test Driven Development, what should you write first - the contract or the implementation?