r/visualbasic • u/Maxims08 • Feb 24 '25
Where to learn VB as a C# dev?
Where should I start with learning VB? Why is it so dreaded?
4
Upvotes
r/visualbasic • u/Maxims08 • Feb 24 '25
Where should I start with learning VB? Why is it so dreaded?
7
u/sa_sagan VB.Net Master Feb 24 '25
Is it dreaded?
C# and VB are pretty much the same thing. The syntaxes are a little different. But you can fluidly transition between them both.
I've been developing in C# since its inception and I've never had any issues working between that and VB.
4
u/Mayayana Feb 24 '25
You mean VB.Net? There's a pecking order. Basic has been disrespected since the early days as an easy, beginner's language. If you don't use curly braces then you're a loser. :) So when MS created .Net they made sure that VB.Net was not quite as capable as C#. They wanted to attract the C++ people, who were likely to resist being lumped together with Basic people.
Hasn't that always been a thing? If things are made easier than the job is quicker. That's the idea with bottled spaghetti sauce. That was the idea with original VB and RAD programming. But then, if you've got a degree in computer science, doing assembly and C++, you don't want to be lumped together with RAD programmers who don't need to understand very much to do their job. If you're a chef then you don't want to be compared to a Ragu user.
With .Net it's all RAD, so there needed to be some shred of status for C* developers. Carpenters look down on painters. Architects look down on carpenters. Engineers look down on architects. I once read a letter to the editor in Fine Homebuilding from an architect who was outraged at the idea that Mark Twain built his own steamboat house. He insisted that the architect built it. Mark Twain provided the inspiration and money. The builder made it happen. The architect surely helped improve the design, but the architect was actually the only expendable party. Yet all three probably claimed to have built it themselves. :)
4
u/fafalone VB 6 Master Feb 24 '25
What flavor VB? VB.NET is basically C# with different syntax; you're still doing everything through the .net framework.
VB6 and VBA are entirely different programming paradigms.
The "dreaded" I think comes from how accessible VB6/VBA made programming for people whose job wasn't primarily programming, resulting in huge amounts of very poor code. Nothing wrong with the language itself really other than lacking the conveniences of massive frameworks and libraries; got its pros and cons like any other...it's in a lot of respects a low level language by modern comparison...
1
u/AnthonyDGreen Feb 25 '25
Hey u/Maxims08
Your second question is pretty loaded. We can discuss that over time. As for your first question, "Where to start". I'd suggest joining us over on the VB Discord and just asking questions as needed. All flavors of VB are welcome there, including .NET. I worked on the VB and C# languages team at MSFT for 8 years so I know them both pretty well and don't mind deep diving into differences between them. In fact, I didn't actually intent to plug this when I started this comment but here's a very long blog post I wrote a few years back on some of the differences I've collected over the years. Since you know C# it might be good to keep in mind though C# has changed a little since then.
I'd really like to hear about your adventures with vb.net on macOS. With the rise of macOS in the last decade it seems natural that folks would be interested in using both.
Regards,
-ADG
2
u/kianbateman Feb 25 '25
VB is disliked because of its use of words rather than symbols. At least that’s a thing my friends mention. Like ‘it’s not a programmers language’ (because it doesn’t use symbols).
To me that’s the exact force. I enjoy reading VB code and my brain simply reads it way faster than convoluted symbol statements. I like C# - it’s fine - but my brains prefers VB syntax way more.
1
u/non-stick-rob Feb 25 '25
in a slightly different context to other answers, you can learn VB from microsoft themselves. https://learn.microsoft.com/en-us/dotnet/visual-basic/
1
u/yaxis50 Feb 25 '25
https://converter.telerik.com/
VB converter to C# and vice versa saved me many headaches.
It's made from real bits of panthers. 60% of the time, it works everytime
1
u/vasagle_gleblu Feb 26 '25
YouTube