As of today, we’re officially unveiling a brand new feature coming with Visual Studio 2010 and the .NET Framework 4.0: sentient DSLs. If you’ve become intrigued with all the hype around leveraging domain-specific languages, but you’re concerned about the added complexity that comes with having to learn a bunch of different grammars, then sentient DSLs are for you. Write the code that you think makes sense, and allow the application to create itself. Coding should be fun, and most importantly, it should be easy.
Check out this new feature in action over at Channel 9: http://channel9.msdn.com/shows/10-4/10-4-Episode-14-Sentient-DSLs/. As always, I’d love to get your feedback on how useful you think this could be to you.
One of my biggest complaints with the .NET Framework is its horrible support (or lack thereof) for handling string input. If you have an application that allows a user to enter arbitrary content, there is no single way to “project” that content into its appropriate data type, without having to write a ton of boilerplate code.
At first glance, you might think this is an easy problem to solve, and in some instances you’d be right, but the devil is most certainly in the details (as in figuring out quantum physics!). If you’re looking to be able to handle an infinite number of different data types, and generically interpret any possible form of input, then you’ve got quite a serious problem on your hands.
Thankfully this problem ends today. In addition to developing the recently released ASP.NET MVC framework, Phil Haack and Eilon Lipton have also been hard at work addressing the global issue of string input handling and quantum entanglement. This afternoon, the first public CTP of the new “String Input Handling Framework” (name pending) has been released. As much as I’d love to go on about how to use it, and how integral it will become in all future .NET development, Eilon has already put together a great blog post on this subject.
All I can say is: with innovative solutions like this under Microsoft’s belt, there is no question just how superior the .NET Framework is to everything else on the market. Move over Ruby, PHP, Python, Java, and everyone else (you know who you are), the .NET train is coming through, and we’ll be accepting any input you’ve got to throw at us!