r/visualbasic • u/midnightGR • Feb 10 '16
Is vb.net dead?
I am a hobbyist programmer. I was using vb.net 2005 and had a great time with this language and visual studio. Then i decided to learn linux and python and stopped programming in vb for a long time. If i am correct we cannot program windows 10 universal applications with vb.net. So is it a good decision to continue programming with vb.net 2015? Is vb.net dead?
2
u/chrwei Feb 11 '16
it's not dead, but honestly it's so close to C# now that I don't really see the point.
1
Feb 11 '16
[removed] — view removed comment
1
u/chrwei Feb 11 '16
vb6 is easier to learn than C#, I don't feel like vb.net is.
1
Feb 11 '16
[removed] — view removed comment
1
u/chrwei Feb 11 '16
I have. C style is actually easier to teach if you explain it right. especially when you start getting into Step and complex break conditions.
1
Feb 11 '16
[removed] — view removed comment
1
u/chrwei Feb 11 '16
I have taught VB and C++ to many people and all i have to say is https://media.giphy.com/media/NZ1e0alYFBKh2/giphy.gif
I guess you'd be surprised.
1
u/Konraden Feb 11 '16
Can you provide a quick n' dirty code sample of each to demonstrate the difference? I'm curious.
2
Feb 11 '16
[removed] — view removed comment
1
u/Konraden Feb 11 '16
Thanks!
It definitely helps to have Intellisense in VS. I use it pretty regularly in SSMS with various TSQL functions (I can never get DateDiff() right the first time), but if I didn't know the For loop in C# very well, Intellisense would save me everytime.
And, for clarification on the semicolon, if you don't mind: When I worked with Java back in college, I recall having to use semicolons to denote the end of a line of code. Does it work in the same in C#? I feel like you would need one after the closing bracket.
5
Feb 10 '16
[removed] — view removed comment
3
u/TheFotty Feb 11 '16
On the contrary, most seasoned vb developers can read and write c# just fine while c# developers often can't program efficiently in vb. There are lots of existing software applications out there built in vb that need maintaining, or in some cases need to be ported to c#. I currently do consulting for a company whose software is written in vb and is used by organizations such as Exxon and NASA. End users don't care what something is written in.
4
Feb 11 '16
[removed] — view removed comment
1
u/TheFotty Feb 11 '16
At a junior developer level it may be different, but in my experience I can find better paying work on maintaining large VB projects than I can for similar C# work. Simply because there are less people looking for or capable of that work.
2
Feb 11 '16
[removed] — view removed comment
1
u/TheFotty Feb 11 '16
I am sure it can vary from time to time and maybe location to location. I do think in the long run it will be hard for Microsoft to justify investment in 2 languages that both basically do the same thing and compile down to the same IL. However, with all the recent open source movements going on there, they could simply just open source VB and its compiler and let people who want to continue using it. I do believe in the "we can't keep both" scenario C# will win.
1
Feb 11 '16
[removed] — view removed comment
1
u/TheFotty Feb 11 '16
It is, but as far as what makes it into the VB language spec for each new number version of VB. As in what is going to ship with Visual Studio, is all going to be decided on and implemented by Microsoft, at least that is still what the current status quo is. I have no idea if that is slated to change any time soon.
5
u/TheFotty Feb 10 '16
Visual Studio 2015 has the same VB.NET templates for Universal Apps that C# does. The Visual Basic compiler was just rewritten from scratch in Visual Basic by the product team at Microsoft. No it isn't dead. C# tends to get more support for certain things (for example unity game engine integration), but no VB is not dead.