Sunday, September 25, 2011

Sharper

Jesper on upcoming C# features:

First, there’s an API model for writing dynamic read-eval-print loops where lines of code can be interpreted in a script-like fashion and kept intact as you go; running code, importing namespaces, referencing new assemblies, redefining methods or properties and so on. This would otherwise have to be reinvented for every such implementation and is a nice nod.

Secondly, there’s an object model for the language, something showcased by being able to translate between C# and VB (for which equivalent work is being done) and writing smart, custom refactorings, which was previously only in the hands of people who were already basically writing their own C# compiler, like ReSharper or CodeRush.

Awesome.

2 Comments RSS · Twitter

They didn't have to do any of this, but they are doing it, and they are explicitly doing so because of the wild stuff that this will enable the community to cook up. That's what's really awesome.

I'm using C# all day long now and enjoying it a great deal (Visual Studio, somewhat less so). Definitely worth a look.

Leave a Comment