Why isn't Visual Basic developed like C#?

Hassan Farouk 20 Reputation points
2024-01-29T18:32:44.9366667+00:00

In fact, I feel very upset with Microsoft's strategy towards the Visual Basic language. You are practicing euthanasia for this language and losing a large base of programmers who prefer to deal with this language. You have wasted the expertise of these programmers and diminished their value in the market. What is Microsoft waiting for after that? We will not switch to... #C, but we will switch to any other language, Python or Java, so that we do not fall into the trap again. I don't know why. There is no justification for limiting the ability of a programming language that has a long history and has advantages, the most important of which is ease of dealing with it as if you were dealing with a human language. Why is it not developed to use the same capabilities as C#? Why did you not give us the right to create phone applications? Imagine, I did not find any modern book for this language. This strategy literally motivates me to move to another work environment, but this time it will not be .net. I will not make an effort and my effort will be in vain.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,605 questions
{count} votes

Accepted answer
  1. Azar 19,810 Reputation points
    2024-01-29T19:00:38.7966667+00:00

    Hey Hassan Farouk

    That is really a wonderful question, thanks for posting it on QandA platform.

    I totally get your frustration with Visual Basic taking a bit of a backseat.

    But i guess microsoft has been all-in on C# because it's like the rockstar language of the .NET . They've been updating and, building cool frameworks, and making it the go-to for modern development.

    Now, VB might not be getting as much limelight, but im sure its not dead. Microsoft knows peoplw like us still dig it, hehe and They've got VB.NET, and it's still running along.

    The thing is, tech's always evolving. Sometimes they're jamming with one language, and later they might swing back to another. Trends change, and Microsoft's keeping an eye on what developers want.

    So, yeah, keep an eye out. They might surprise us with a VB comeback who knows, and I will also make a note about this in the forum, meanwhile keep doing the great stuff, and once I get an update I'm more than happy to share to with you.

    If this helps kindly accept the answer thanks much.

    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 57,886 Reputation points
    2024-01-29T22:43:57.56+00:00

    The reason is because it's a very hard problem and takes a lot of resources.

    All the supporting sdks and toolkits are written in C#, and sdk team will produce C# samples and probably C# templates. the VB language has to be popular enough with the sdk users for the sdk team to add support for the VB language. if not, then the VB team has to add support for the library, produce samples, and add templates for there to be VB support.

    one of the major decision with .net core was to sync the runtime and c# language. so every major release of the framework has a matching c# release. this allows new c# language features that require new runtime support. sdk and libraries often take quick advantage of these runtime features (as the language changes are often driven by sdk feature requests). this is an issue for other .net languages, which have to add syntax and support for new runtime features, especially at the current cadence. VB has decided to only add changes it thinks it users want.

    Not sure how the f# team keeps their language current, but they do a better job than the VB team. probably because the language is so small, and the focus on .net types.

    and finally historically, vb popularity was its integration into a development tool with form support and productive gain this gave. But since .net, this feature has been diminishing. the designers are for C# first, then other languages. The current trend is for UI toolkits to have their own domain language (Xmal, SwiftUI, JetPack Compose, etc)

    given the whole .net framework and libraries are same between VB and C#, it not clear why you would not switch to C#, especially if the goal was VB to exactly match C# features with just a slightly different statement syntax. at least F# has a different language paradigm and not just a different syntax.

    and finally, javascript seems to have replace the niche basic had.

    0 comments No comments

  2. Brandon Stewart 136 Reputation points
    2024-04-08T15:21:20.4233333+00:00

    Moderator - please delete this post! It was a duplicate.

    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Brandon Stewart 136 Reputation points
    2024-04-08T15:33:16.66+00:00

    Once upon a time businesses actually rendered products and services based on the wants and needs of the consumer. In other words, most markets were consumer driven. Then along came the tech industry whose entrepreneurship decided that Silicon Valley was going to flip the playbook by producing goods and services THEY want customers to buy rather than what the customers themselves actually want to buy. So, the markets became commodity driven rather than consumer driven.

    The reason I mention that useless drivel is that because at some point Microsoft decided they needed to develop C# in order to compete with Java if they were going to be the ones driving the market for tablets and mobile rather than Sun Microsystem or Oracle. That is the entire reason for C#'s existence is to allow MS to drive the consumer market rather than another company or even consumers themselves to drive the market. So, why doesn't Microsoft make Visual Basic 6/NET open source or just outright sell it? Simple! Visual Basic blows C# away at desktop development - especially database applications. This makes Visual Basic a H-U-G-E financial threat to C# and Microsoft because if other businesses and enterprises stick with the common sense and reliable desktop model and its applications, this throws a wrench in Microsoft's desire to conquer and drive the tablet/mobile/enterprise markets. Microsoft has been systematically trying to kill desktop environments while pushing mobile environments.

    You might have noticed over the years that some C# fans continually deride Visual Basic. Ignore these people. The fact is, any tool can be subjectively better or not ONLY with regard to any particular application where it might be used, as well as by whom it might be used. C# is a better choice for many is some situations. Visual Basic is better for some is other situations. But neither can ever be better than the other, overall. It just so happens that Visual Basic is the best tool for me is most of my projects. Others require I use Assembly, C++, Pascal, or a mixture. There are also those who are hung up on Visual Basic allegedly leading to bad programming practices. This too, is beyond nonsense. Visual Basic ALLOWS you to write either bad, sloppy code or amazingly effiecient and strong code. Visual Basic "leads" to nothing. It is the programmers themselves who produce good or bad code - not the language. And I promise you, I have seen equally as much or more HORRIBLE code written in C#, JavaScript, C++, and Python as I have seen written in Visual Basic.

    ...it[sic] not clear why you would not switch to C#... ~ Bruce (SqlWork.com) 

     This nonsense of asking people why they don't switch to C# or trying to convince them they should change over needs to stop. The ONLY justifiable reasons to switch to C# if you still prefer VB is due to job market demands or if your current employer requires it - that's it. But if you're not looking for a new job or if C# doesn't meet your current needs over VB and you don't feel it worth the annoyance to learn a new language, there is absolutely no reason to switch other than to make C# users feel better about themselves, and their feelings just really aren't that valid.

    Again, Microsoft will never open source (not completely, anyway), never sell, nor update Visual Basic because of one simple reason - it is a threat to their goals of dominating and driving the consumer market for tablets, mobile, and enterprise systems.

    0 comments No comments