r/programming • u/wood_wood_woody • Oct 12 '09
So I'm learning VB in school... Any use whatsoever?
Pardon me, I'm new here :)
I'll be learning Java after Christmas, so it's just some basic intro stuff to get us into programming or whatnot.
But I was just wondering, anyone (except CSI) use Visual Basic for anything, whatsoever?
I gotta say, from past (very fleeting) experiences with Java, that having a drag and drop enviroment for the GUI is pretty cool.
0
Upvotes
4
u/OrangePlus Oct 12 '09 edited Oct 12 '09
fifth most used language:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
EDIT: Originally I wrote "forth" but it's actually fifth
1
u/adolfojp Oct 12 '09
VB or VB.NET? They're completely different languages. Calling it Visual Basic will fuck up your Google searches.
2
u/benjorino Oct 12 '09
First language I ever used and I hated it. But its not useless... far from it.
2
u/pork2001 Oct 12 '09 edited Oct 13 '09
Once you get comfortable with using forms and controls on forms in VB, and how to handle event-driven code, those skills will transfer over to Visual C++ and C#, so the time is not all wasted. Although the underlying code is a lot different in those last two. VB is often used to prototype something and see whether the interface design is usable or has to be improved. It's harder to do this quickly in C++ or C# until you are up some levels, but VB is quick and easy.
2
u/case-o-nuts Oct 12 '09
It doesn't matter if the language is used or not. The concepts you learn will be valid in almost any other language.
1
u/timf3d Oct 13 '09
Learning VB is useful for very old VB6 applications that are still in use. You can get lucrative jobs to modify or port that code. There's a lot of it out there.
Learning VB.NET is useful in those situations where you are handed some VB.NET code that needs to be ported over to C♯.
1
u/gmiller123456 Oct 15 '09
Pretty much no matter what language you learn in school, it will be obsolete by the time you're done. Even if the language itself isn't obsolete, the class libraries, how it's used, frameworks, etc will all have changed significantly.
My college taught Pascal (early 90's) as their only language, and I turned out just fine. Of course I learned several other languages on my own during that time.
0
u/Woosta Oct 13 '09
The application that my team maintains and adds functionality to contains roughly 100,000 lines of VB (there's also a fair amount of C++/COM stuff as well). It's used internally at 1500 sites across the US. It's your classic VB 6 stuff, not VB.net. It's a bit depressing.
We've developed a fair amount of new code in C#. I very much prefer C#. You get your drag and drop interfaces and object-oriented coding practices, and the language reads very similar to Java.
I think learning C# or Java will be a bit better for your development than VB.net or VB 6. Once you're comfortable programming, learning a language like VB.net is really a matter of figuring out the syntax, which I feel is easier when you have a strong grasp of programming (ie, oh, you call functions this way, and define variables this way, etc).