Jump to content

Visual Studio 2017


MJW

Recommended Posts

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.

Link to comment
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++

  • Upvote 1
Link to comment
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.

Link to comment
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

 

Link to comment
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!

 

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
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.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • 1 month later...

En anglais s'il vous plaît! (It's a forum requirement.)

 

To save others from having to run Google Translate:
 

Quote


I prefer D (http://dlang.org/) rather than C# 7 at the programming level the Tuples are implemented.
A Visual D plug-in is required for use in Visual Studio 2015 or 2017

 

 

This is the first I've heard of D. I may look into it, but because C# is the lingua franca (so to speak) of Paint.Net, I'll almost certainly continue to use it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...