MJW Posted March 9, 2017 Share Posted March 9, 2017 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. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted March 9, 2017 Share Posted March 9, 2017 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 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MJW Posted March 9, 2017 Author Share Posted March 9, 2017 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. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted March 9, 2017 Share Posted March 9, 2017 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) { Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
xod Posted March 9, 2017 Share Posted March 9, 2017 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 Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 9, 2017 Share Posted March 9, 2017 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! Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
null54 Posted March 9, 2017 Share Posted March 9, 2017 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. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint 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 More sharing options...
Stéphane Posted May 5, 2017 Share Posted May 5, 2017 Je préfère le D (http://dlang.org/)plutôt qu'au C#7 au niveau programmation système les Tuples sont mis en œuvres. un pluggins Visusual D est nécessaire pour l'utiliser dans Visual Studio 2015 ou 2017 Quote Link to comment Share on other sites More sharing options...
MJW Posted May 6, 2017 Author Share Posted May 6, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.