What’s new in Visual Studio 2010 part 1: quick overview of the key improvements

Posted on 12 April 2010

I won’t be the first listing the improvements of a new version Visual Studio .NET and I won’t be the last. This list contains improvements that are most apparent when you work with Visual Studio 2010 as a professional developer. I won’t list the stuff your manager likes, nor will I list the improvements that I consider not too helpful, i.e., that won’t make your life so much easier. This list is, of course, my personal list that I use to convince myself of upgrading (which I have already done by the time I finish this post). This list is what you need in your daily life and what you missed in previous versions of .NET.

Key improvements in .NET Framework and CLR

Here’s what improves your professional life:

Key improvements in C#.NET 4.0, aka C#.NET 2010

While arguably the most-used language in professional development for the Windows platform these days, many eyes are focused on the changes made to the C# language itself. C# 1.0 introduced, among itself, delegates which set it apart from Java. C# 2.0 introduced generics, perhaps to catch up with Java. C# 3.0 (not 3.5 as some may call it) introduced LINQ and, best improvement in history to any imperative language ever, lambda expressions and expression trees. What’s up with C# 4.0? Another ground-breaking feature? Choose your pick of your favorite, time will tell which is the most distinguising:

Not that impressive, really. But the second, about C# dynamics, may change your world further than you currently suspect. Is it going to be the end of type safety as some suggest? I hope not, but abuse of a new feature is often around the corner, especially with less-experienced programmers. And surely, you don’t want to go back to this nasty Visual Basic time where everything can be untyped?

Key improvements in VB.NET 2010, aka VB.NET 10

I’ve stopped being a core fan of VB.NET since about 1996, the year I learned Perl, Java and Eiffel. I hardly use Perl or Eiffel these days but VB.NET I encounter with just about every customer I’ve had ever since. Unfortunately, this has only hampered my enthusiasm further and to me, VB.NET is has become the language of choice for Office hackers but in professional development it can do little less than harm. Ok, I’m biased, but here’s a list regardless, with some surprises that should’ve been there in VB 3.0 already:

If you ask me, the auto-properties and the line continuation (which is still tricky to get right, though!) are too little and too late a features to really boost VB.NET to the professional camp again. But perhaps Microsoft never intended that, which is perhaps why there’s so little effort from them to improve this language seriously.

Key improvements to ASP.NET 2010

Just the list without the fuzz (here’s a full list):

Key improvements, other

While I could drag on, I promised to stick to the improvements that matter to you, the professional programmer. I’m sure you’ll disagree on the lists here, as you will disagree that I excluded WPF and EF so far. And where’s F#? Here’s a short-list of those improvements that I didn’t mention above:

  • Improved IntelliSense support in the IDE: much faster, more accurate;
  • Introducing F#, a functional language which is here to stay. Solid, concise, succinct and filling the gap;
  • Lazy loading in the entity framework, will it really catch up with NHibernate?
  • Call hierarchy at design time (!);
  • Direct support for contracts like pre- and post-conditions;
  • Introducting Silverlight 4.0, finally up to the task;
  • UML 2.1.1. support in Team System;
  • Consumer First IntelliSense, meaning: if the method is used, but not defined, IntelliSense can still find it;
  • Support for multiple monitors and better docking.

Now, the odd thing is, this last item had been there in Visual Studio 6, but never returned. I missed it ever since, and for me, just after concurrency and F#, it’s the best improvement they introduce.

Conclusion

I already said it. F# is my conclusion. Concurrency is mine, too. And some features introduced in the IDE that were missing from earlier editions have made it back. But what will really improve your coding experience? Not everyone will move to F# or find it useful. It’s quite a leap from imperative to functional programming. After working a while with VS 2010, I find myself using the Call Hierarchy, Consumer First IntelliSense and the dynamic keyword (DLR) support the most. They improve my everyday-life with Visual Studio. The others, including concurrency which I so dearly missed, don’t improve my everyday-life, they just make complex tasks easier.

Other Hatties at Under My Hat

Don’t follow the advised on the TechNet, MS Connect and MSDN forums, they are time-consuming and don’t work if you have a newer version of .NET installed like .NET 4.0. Instead, read this and easily fix this hard-to-resolve error by simply changing one registry value. read article

Ever tried to shrink a volume? Ever wondered why you cannot shrink a volume smaller than half its size? Ever wondered what $MFTMirr is all about and what it’s doing in the middle of your drive? Or do you just want to get the biggest available free space and shrink your drive? Then this article is for you — read article

Have you ever received this error using Windows System Backup and Restore Center? Never managed to get rid of it or it mysteriously keeps coming back? Here’s a lightweight and easy solution — read article

 


1 Tweet

2 responses to What’s new in Visual Studio 2010 part 1: quick overview of the key improvements

  • [...] This post was mentioned on Twitter by Abel Braaksma. Abel Braaksma said: Forgot link to Part 1, Key Improvements That Matter http://bit.ly/cHhrtt #VS2010 [...]

  • Leave a Response

    Additional comments powered by BackType

    Get Adobe Flash playerPlugin by wpburn.com wordpress themes

    Copyright © Under My Hat.

    Other Recent Hatties (alphabetically)