News for hackers. Stuff that matters.
Re:The .NET Language Strategy by marcosdumay on Wednesday February 01, 2017 @04:57PM (#13545728)
Do you think VB.Net is in any way more accessible than C#? Or that any of those is less accessible than VB6?

The untrained masses have a way into getting hooked on tools that are harder but offer no benefit compared to many other stuff available around. It is very easy to hate those tools.

Re:The .NET Language Strategy by WorldMaker on Wednesday February 01, 2017 @05:18PM (#13545943)
«Do you think VB.Net is in any way more accessible than C#?»

Having been a teacher's assistant on courses the answer is very clearly and emphatically: Yes.

It's easy to discount the accessibility of a syntax when you are already at the top of the learning curve, but the Algol family will always be tougher to teach/learn than the BASIC family. Punctuation is harder than you think. (Aside: partly why I think JavaScript is actually the easiest to teach in the Algol-inspired family for the benefit of having optional semicolons alone.)

«Or that any of those is less accessible than VB6?»

That's not an anecdote I have first hand experience with. I think there are a lot of cranky VB6 developers that sneer that VB.NET is worse and so much harder than VB6, but my gut tells me that that may be more the relative learning curve/gap in moving from VB6 to VB14. I don't think it is anywhere near as representative of the accessibility of learning VB14 as a first language. (I also think the more important question is the accessibility of moving from Office VBA to VB14, as it still seems for a lot of disciplines Office VBA is the most important first step towards programming.)

«The untrained masses have a way into getting hooked on tools that are harder but offer no benefit compared to many other stuff available around.»

I'm not sure what you are getting at here. I don't think VB.NET is any "harder" than C# and while VB.NET might not offer "more benefit" than C# (assuming you discount syntax/accessibility entirely as a benefit), it certainly is no worse than C# as a tool for a person to use.

Re:The .NET Language Strategy by marcosdumay on Thursday February 02, 2017 @07:36PM (#13556539)
> I'm not sure what you are getting at here. I don't think VB.NET is any "harder" than C# and while VB.NET

It was not clear by the comment, but I was not talking about VB.Net. This one is no worse than C# or Java, and I also don't see many people stuck on it.

That phrase applies much more to VB6 (even more in the day), and some others like PHP, or, going out of the generic domain MathLab (that used to suck, a lot, but doesn't anymore), and VBA.

Re:The .NET Language Strategy by krylon on Thursday February 02, 2017 @08:00AM (#13550197)
> my gut tells me that that may be more the relative learning curve/gap in moving from VB6 to VB14.

As I remember it, there were lots of angry VB6 developers when Microsoft discontinued the "old" VB and told them to migrate to VB.Net. I vaguely remember there was some kind of online petition (although it was a long time ago, my memory might be playing tricks on me).

Re:The .NET Language Strategy by _r_o_y_ on Thursday February 02, 2017 @08:45AM (#13550416)
Yes, it's in VS User Voice page [0] and surprisingly there's people commenting even tho it was decline.

[0] https://visualstudio.uservoice.com/forums/121579-visual-stud...

Re:The .NET Language Strategy by ptx on Thursday February 02, 2017 @03:59PM (#13554600)
> I also think the more important question is the accessibility of moving from Office VBA to VB14

VBA 6 is exactly the same language as VB 6, with the same IDE. VBA 7 (the current version) adds some new types to support 64-bit mode.

(I'm currently maintaining a bunch of VBA code in a third-party application that uses it for scripting.)

Re:The .NET Language Strategy by sokoloff on Wednesday February 01, 2017 @05:08PM (#13545843)
We ported a massive classic ASP site to VB.Net in 2003 and then several years later ported it to C#. My experience was that some devs did better with VB.Net (coming from classic ASP) than they would have jumping to C#.

It wasn't quite "open the site in the new IDE and fix all the squiggly underlined bits" but that was a substantial part of the mechanical effort.

Starting from nothing? Skip VB.Net and start with C# (assuming you're set on the CLR). Starting from VB6 and a novice programmer? VB.Net has advantages over C#, IMO.

Re:The .NET Language Strategy by cm2187 on Wednesday February 01, 2017 @06:16PM (#13546428)
It is certainly accessible to business people who's only early steps with programmming have been in VBA.

It is by the way an act of cruelty from Microsoft to only provide office users with a 20 year old language that hasn't been updated since the end of the 90s... What happened to VSTA??

Re:The .NET Language Strategy by throwaway7645 on Wednesday February 01, 2017 @08:35PM (#13547268)
Second this. Most people new to VB.NET these days are transitioning from VBA and would find C# far more difficult. Engineers in my office don't write much production code and therefore get to pick what they want to solve problems. Python is very popular and the .NET people are split in 1/2 between C# and VB.NET. The C# code is usually better as the people that choose it are more advanced programmers, but the VB.NET crew still crank out time saving tools and like it.
Re:The .NET Language Strategy by ZenoArrow on Wednesday February 01, 2017 @06:31PM (#13546523)
>"It is by the way an act of cruelty from Microsoft to only provide office users with a 20 year old language that hasn't been updated since the end of the 90s"

Office has support for multiple languages, not just VBA. The three that spring to mind are JavaScript, M and DAX.

Re:The .NET Language Strategy by cm2187 on Wednesday February 01, 2017 @06:35PM (#13546552)
You can't really write UDF in javascript, it's nothing like the VBA integration. (and on a personal note, I still prefer VBA over javascript)
Re:The .NET Language Strategy by ZenoArrow on Wednesday February 01, 2017 @06:59PM (#13546708)
UDFs aren't the only reason VBA is used, though if that's what you're interested in it looks like Microsoft are planning something new in this area:

http://stackoverflow.com/a/40727011

Also, if you don't mind using 3rd party solutions, you've got other options:

http://fcell.io/

http://xlloop.sourceforge.net/

Re:The .NET Language Strategy by cm2187 on Wednesday February 01, 2017 @07:02PM (#13546716)
The big difference with VBA and javascript / third party solution is that I can send a xlsm spreadsheet to a colleague or another company and he will be able to run it just as well as me, I don't need to spend the next 5 years doing the support of how to reinstall the addin that is required to make it run.
Re:The .NET Language Strategy by ZenoArrow on Wednesday February 01, 2017 @09:22PM (#13547542)
Yes, that's why I said "if you don't mind using 3rd party solutions". If 3rd party solutions aren't suitable in your workplace (some workplaces would only need the extra features in internal-only documents, meaning the add-in installation could be managed by a single IT department rather than by individual users) then the Microsoft solution that's being planned is more relevant.
Re:The .NET Language Strategy by will_pseudonym on Wednesday February 01, 2017 @06:46PM (#13546619)
Also a somewhat limited version of SQL.
Re:The .NET Language Strategy by ocdtrekkie on Wednesday February 01, 2017 @06:08PM (#13546357)
I've learned both C++ and C#, and I ended up writing my home automation system in VB because it just came more naturally to me, and I can write code that does what I want faster with it.

The side perk that I can relatively easily convert to C# later if I have to is there. But yeah, as much as I've worked in C style languages before, I find VB much more comfortable.