What is Spec# I've been hearing about?
What is Spec# I've been hearing about?
343 views Asked by Mateusz Kubiczek AtThere are 6 answers
On
Check out Microsoft's site on the language http://research.microsoft.com/en-us/projects/specsharp/
On
Here is the Microsoft Research page outlining the project.
From the site:
The Spec# programming system is a new attempt at a more cost effective way to develop and maintain high-quality software.
On
Spec# is programming language that is essential an extension to C#. It adds the ability to define contracts on methods. Contacts are conditions that must be true for the method to be valid. An example of a contact would be stating that a specific parameter must not be null when the method is run.
It includes a tool that can be run that attempts to prove if the conditions are guaranteed to be met.
It was a research project by Microsoft that has now been abandoned, but the work that was done forms the basis of the code contracts in .net 4.0.
More in Spec#