C# 4.0 request: I would like to have design by contract…please?

Published Mon, Oct 20 2008 22:08

I think that adding verifiability to the language would be great. MS Research has been working on Spec# for some time now, but it seems like it’s always behind the current C# release (for instance, the current version works against C# 2.0, but who wants to go back after using C# 3.0? Not me…).

Yes, in the current release you can try to apply some of the features introduced by Design by Contract, but you’ll only get a limits subset of what Spec# gives you (and you’ll only be able to do runtime verification – I’ve got a small framework that does this and I’ll probably blog about this on the future).

So, like many others, I would also love to have Spec# features  merged into C# by default. Wouldn’t you love to have it on the next version of the language?

spec_2

Filed under:

Comments

# Praveen Angyan said on Monday, November 03, 2008 9:59 AM

I'm a HUGE supporter of Design by Contract. I'm waiting for Microsoft to add in the features of Spec# to C#.

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above:  

Search

This Blog

Tags

Community

Archives

Syndication

Email Notifications

News




  • View Luis Abreu's profile on LinkedIn


    Follow me at Twitter

    My books

    Silverlight 4.0: Curso Completo

    ASP.NET 4.0: Curso Completo

    Portuguese LINQ book cover

    Portuguese ASP.NET 3.5 book cover

    Portuguese ASP.NET AJAX book cover

    Portuguese ASP.NET AJAX book cover