Nerseus
Danner
Ive just finished installing the Whidbey technical preview on my home machine so I have more time to "play". Whidbey is the next version of Visual Studio (due in 2005). There is some seriously cool stuff in there!
For one, partial classes. Similar to C++, you can now split class code among separate files. Class getting too big? Split it out.
Basic Refactoring is now built in. Items like "Extract Method", "Promote to Interface" and more are there and VERY easy to use. If youve never heard of refactoring, check out this book.
You can now rename a method and have Visual Studio go and find all references to the new name and update them. You can reorder parameters to a method and it will reorder the params passed to the method wherever you called it.
You can now use Generics - similar to C++ templates. Rather than create a whole Collection class just to get a type-safe collection, you can use a template to define a variable as a typed collection. That alone will save me a TON of code.
Another feature I havent played with much yet is generic value types. You can create a Nullable int. So you can define the variable i as a Nullable int and use it exactly like an int. If you dont define it it will have a method like NullValue that returns true/false. So, no more questions on "does 0 represent a "null" int or should I use int.MinValue?". Awesome.
They havent added it yet, but I hope theres a way to specify the Output Type (win EXE or class library) as a configuration param. So, Release mode makes a class library while Debug mode makes an EXE.
Also, if youve ever wrestled with the docking windows in Visual Studio, trying to get the properties window below the Solution Explorer or the Watch Window just right... theyve redesigned how you dock windows. See the screenshot below - you now have little popup thingies that show you just where to drop a window.
There are about 500 options on how to format your code, if you want to tweak indents (case, switch, the lines after a case, brackets, etc.).
Thats all for now... just totally impressed and cant wait to start using this next year!
-nerseus
For one, partial classes. Similar to C++, you can now split class code among separate files. Class getting too big? Split it out.
Basic Refactoring is now built in. Items like "Extract Method", "Promote to Interface" and more are there and VERY easy to use. If youve never heard of refactoring, check out this book.
You can now rename a method and have Visual Studio go and find all references to the new name and update them. You can reorder parameters to a method and it will reorder the params passed to the method wherever you called it.
You can now use Generics - similar to C++ templates. Rather than create a whole Collection class just to get a type-safe collection, you can use a template to define a variable as a typed collection. That alone will save me a TON of code.
Another feature I havent played with much yet is generic value types. You can create a Nullable int. So you can define the variable i as a Nullable int and use it exactly like an int. If you dont define it it will have a method like NullValue that returns true/false. So, no more questions on "does 0 represent a "null" int or should I use int.MinValue?". Awesome.
They havent added it yet, but I hope theres a way to specify the Output Type (win EXE or class library) as a configuration param. So, Release mode makes a class library while Debug mode makes an EXE.
Also, if youve ever wrestled with the docking windows in Visual Studio, trying to get the properties window below the Solution Explorer or the Watch Window just right... theyve redesigned how you dock windows. See the screenshot below - you now have little popup thingies that show you just where to drop a window.
There are about 500 options on how to format your code, if you want to tweak indents (case, switch, the lines after a case, brackets, etc.).
Thats all for now... just totally impressed and cant wait to start using this next year!
-nerseus