Who is using VB.NET? What are they using it for?
Over the past few years, I've spent time working in Unity, which means I've accidentally become quite proficient in C#. And you know, I don't love it but it's not so bad once you're moving.
However, at no point did I ever consider going back to VB.NET. If you'd asked me before a few weeks ago, I honestly believed that it had been consigned to the annals of nerd trivia.
It came as a huge shock to see that VB.NET is apparently more popular than C#, which seems to be used for all manner of things:
https://www.tiobe.com/tiobe-index/ https://insights.stackoverflow.com/survey/2017#technology
One survey and I'd assume that TIOBE was being trolled. But this seems real.
However, I'm experiencing massive cognitive dissonance because I've never met a VB.NET developer, and while I've worked in web, mobile and game development circles for 25 years, I literally have no idea what you'd even use VB.NET for.
I've never seen a single article or mention on Hacker News or any of the other forums I read.
Is there a sort of progressive/conservative-esque perception bubble where there's a parallel universe using VB.NET for building the next Hooli?
It's really bothering me. :)
10 comments
[ 2.9 ms ] story [ 51.9 ms ] threadThe types of problems I saw VB.net used to solve were usually data entry apps, call centers etc. A lot of the times these developers are what I called "tools based", because almost without exception the only way they knew how to get a database connect or a form component on the screen was to use Visual Studio to drag and drop it. I did run into a few VB.NET projects that were super professionally done and impressive but that was the exception. I don't fault the language overall, but I would never want to maintain it long term.
Funny part, one of the consultancies I started and ran for years focused on project rescues and our bread and butter was the Microsoft stack for a time. By percentage we were called for VB.NET projects in financial services firms above almost all other situations. To be fair, VB.NET wasn't the failure generally, poor project management, bad requirements and staffing almost always was the failure. Architecture and language choices were usually made by non-developers or at least non-career developers.
The WYSIWIG aspect of .NET WinForms and events meant I could build a very efficient data entry program (I miss that part a lot when developing for the web).
Most other apps we have, even the ones far simpler than this one, contain just as much spaghetti but distributed over 15 layers to the point where their incomprehensible.
In hindsight I'm not convinced replacing drag'n'drop coding with "architecture" was a good move.
In India a whole lot of such apps, even for big grocery chains and banks are made in VB.NET. I made many of them when I was an undergraduate for some quick spending money.
> I've never seen a single article or mention on Hacker News or any of the other forums I read.
You wouldn't. This is not a client side or flashy business where you can claim big innovation or some grand mission like changing the world. No one on a forum has the time to talk about the boring stuff.
As frameworks churned away from tools amenable to drag'n'drop programming with MVC on the web side and XAML on the desktop the VB developers seem to have either moved to c# or dropped out of the industry, I occasionally talk to people that were programmers in the late 90's/early 2000's that left the industry and they are pretty much all VB programmers of one dialect or the other.
As for what it's being used for, it works just as well as c# everywhere that works, web desktop and mobile, there's no technical reason to avoid it (but a few less technical ones).
What I can't explain is it's recent resurgence. I haven't seen this in the boring business programming world, this is where VB thrived but from my experience it's all in c# or java these days. If I had to guess it would be tools like unity responsible for VB's second coming... or errors in tiobe methodology.
I was one of the signatories of a petition by over 120 Microsoft MVPs that asked them to maintain a COM branch long enough to release a proper VB7 release that could serve as a viable transition pathway. They told us in no uncertain terms that we were farting into a hurricane.
There were initially more VB.NET developers - more of us - than C# developers only because there were millions of casual VB6 developers that had a massive investment in the tools. It's my position that they really fucked up by telling us that our only choice was to get with the program. At least in my case, it was not. I left the VB world and started the first Rails consultancy in the world in fall 2004. This proved to be a rather excellent move.
I'm curious about your comment about how all OSS software from the 2002 era was VB.NET. I could be missing something, but... what? :) Do you have any good examples?
In particular, the manager at the branch I worked in had settled on VB.NET because he thought it would be an easier transition for the old VB6 developers he had.
And it's not bad, I loved not having to worry about case sensitivity and stupid brackets and semicolons, but that's only syntactic sugar.
I'm now back to C# for the last few years and I noticed no significant difference, other than more resources on the web.
Sage 200 is written in C#, but has SDKs for both VB.NET and C#. My boss has only really used VB.NET, so that's what we're using.
But C-style syntax has won over the world.