Sign in to follow this  
Followers 0
MJW

Visual Studio 2017

7 posts in this topic

I see Microsoft has released Visual Studio 2017, including a new Community Edition. Being my usual cautious self, I haven't installed it yet. I'd be interested in hearing any opinions or observations about the new version.

0

Share this post


Link to post
Share on other sites

I installed it yesterday, and have used it for a few hours.

 

Unless you're using a Visual Studio extension that's not compatible yet, there's essentially no reason not to switch to the new version.

 

Things I really like:

- Filtering in the Intellisense auto-completion box.

- Improved 'Find All References' pane.

- Improved Exception Helper dialog, especially for Null exceptions

- C# v7

- CMake support

- Open Folder

- Better support for standard (Non 'Microsoft dialect') C++

1

Share this post


Link to post
Share on other sites

Thanks, toe_head2001! I played around with some VS extensions, but I'm not using any now. C# v.7 seems to have some interesting features. The idea of returning multiple values from methods as tuples is something that had occurred to me. In many situations it seems more elegant than rather arbitrarily making one a return value and the others "out" arguments. I'm somewhat surprised to see it actually implemented.

0

Share this post


Link to post
Share on other sites

One of my favorites of C# 7 is that I can change this:

if (obj is MyDataType)
{
    MyDataType item = (MyDataType)obj;

to this:

if (obj is MyDataType item)
{
    

 

0

Share this post


Link to post
Share on other sites


Visual Studio Community 2015.
I have a request:
Please check that you can launch a Win32 Console Application  in C ++ language.
In my case it does not work and I get an error message.
I tried everything I found on the web but without any success.
I finally installed CodeBlocks because I have not managed to make it work in VS.

I need C ++ for my son because he learns this programming language at school.
Thank you.

 

Spoiler

3j4N4Ab.png

 

0

Share this post


Link to post
Share on other sites

https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/

 

C# 7 features that sound really compelling to me:

  • Local functions!!! These were in Pascal since the early 90s at least, when I used Borland Turbo Pascal 4.5. Sooooooo useful
  • Throw expressions, e.g. "return value ?? throw new Exception()" ... this is really really really the right syntax to have!
  • Ref returns and locals ... this would have been useful at some point although I forget exactly where
  • "Out variables" ... it's a small improvement but it will help!

 

0

Share this post


Link to post
Share on other sites
3 hours ago, Rick Brewster said:

Local functions!!! These were in Pascal since the early 90s at least, when I used Borland Turbo Pascal 4.5. Sooooooo useful

Throw expressions, e.g. "return value ?? throw new Exception()" ... this is really really really the right syntax to have!

 

Those features do sound useful.

I would add:

  • Binary literals. Should be helpful when dealing with bit-flags and various compression/file formats.
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0