Lurker News
I've been a software developer for almost 30 years. I remember using VB back in the 90's and I was thinking about it the other day and it dawned on me; despite all the advances in technology since then, nothing I have found compares to that development experience today. I would go so far as to say we've gone backwards in a big way.

Now, I'm no fan of Microsoft products but, I have yet to find a tool that can allow me to be as productive in so short a time as Visual Basic. Yet I can't help wondering what problems it had that caused them to abandon it? Moreover, why hasn't someone come out with a solid replacement?

Comments (522) 139 threads

Show all comments

Showing thread 5 of 139

JackMorgan6 replies#
The productivity wasn't really that good. Rose tinted glasses. All the VB apps I've seen (and still get paid to maintain/rewrite to this day in the finance world) are an order of magnitude simpler than even a simple modern website. They often only have a few users, no devops automation, no deployment automation, terrible logging, terrible instrumentation, no tests, unacceptable access control, tons of failure edge cases, and poor performance.

Most don't even have central databases, they just sit on Access and get copy pasted around like spreadsheets.
While the UI part of Visual Basic was fast and easy, so is writing a React frontend that just stores data in browser LocalStorage, has no authentication, no logging, no monitoring, no tests, and deployment is emailing an updated js file to customers.
The complexity of modern development enables 10-100x better productivity across all aspects of: safety, security, monitoring, error handling, maintenance, and new feature development.
I can whip together a modern website that ticks all these boxes. To achieve the same in VB+Access would be monumental.

yc-kraln4 replies#
I was with you until "... so is writing a React frontend".

No. No it's not. Making a functional UI in visual basic is childs play compared to the absolute cesspit of NIH and feature treadmill that frontend web development has become.
You are gatekeeping with strawmen.

JackMorgan2 replies#
I was trying to compare like for like on features. Slapping together a few fields and a button in react and posting the results to an unauthorized endpoint doesn't feel any more difficult to me than the same in VB.

However, it's certainly an order of magnitude more complex to use react with all the features expected of modern development with design systems, auth/z, logging, monitoring, etc.

taeric7 replies#
I'm deploying react to a CDN for a living, and I would have no idea how to instruct someone to "slap together a few fields and a button" and put it somewhere meaningful. As a kid, I remember making full blown D&D character sheets based on an easy Access backend. You could even print them out.

I want to, but I just can't back any claim that things have gotten easier for pretty much anything. With a ton of extra power on the compute side, parts of the machine have gotten attainable. But nothing about the process is easier along the way.

Continue this thread — 7 replies

quickthrower2#
I wonder how doable it would be to make a drag drop interface for building react complete with double click to add click handler and focus on that new code kinda stuff.
chaostheory1 reply#
A better comparison is with VB’a spiritual successor: Power Apps.

Not sure, but I think VB is still responsible for most of MS’s security threats even now. It makes sense for MS to try to EOL

TrueGeek#
I saw a talk on Power Apps at ATL DEV CON this weekend and was blown away. The only downside is it can only be used internally, with AD M365 logins. It won't work with B2Clogin, and it won't work without authentication.

But, that's the only way I used VB6 - for internal software.

Matumio#
> You are gatekeeping with strawmen.

Love the image. "Hey you! No visual aids go into this town! One more step, and my strawmen will React!" But the accountant with the abacus continued towards the east gate. He squeezed between two strawmen, who didn't React as much as the gatekeeper was implying.

willlma#
What does NIH stand for?
jenscow2 replies#
You should think about what the alternative was at the time: Mostly C/C++

VB6 you would have connected to the db by the end of the day. C/C++ you're still trying to handle WM_ERASEBKGND

kibibu#
Well you'd probably be using MFC which handled most of the windows messages.

Or wasting time figuring out whether you should switch to ATL

failuser#
Borland was the alternative. You could throw together a C++ database application in a day. And if you used Delphi you even could not justify a coffee break by the long compile time.
j45#
Maybe not all apps need the complexity but portability.
anon____#
Don't forget that most of those VB apps you've seen were hacked together by amateurs, engineers, business and finance people, not professional programmers. It was great for their productivity. They automated their work, and they couldn't have done it in C.

BASIC = Beginners' All-purpose Symbolic Instruction Code

oweiler3 replies#
Exactly! The little Visual Basic I saw was always and entangled, manually tested, spaghetti code mess. Devs were productive only at the start of the project and slowed down to a crawl as things got more complex.
JohnBooty#

    Devs were productive only at the start of the
    project and slowed down to a crawl as things got
    more complex.
...and as your productivity declined, your manager thought you were a dolt or perhaps had some kind of drug problem that was interfering with your work.

Because he saw how easy productivity was at the start ("look! you just draw a button with your mouse!") and couldn't understand why it quickly became a nightmare.

Tao33001 reply#
My favorite VB6 moment was as an intern. I opened a project that lived on a shared drive that wasn't in source control. Visual Studio popped up a dialog warning that I didn't have the proper license on my PC for the parts of the app that interfaced with Excel. Then it cheerfully deleted the offending project files and sections of code and saved it. On the shared drive.
JackMorgan#
Big oof right there. Thankfully, I've never had that happen on the job. The lack of meaningful version control in most VB projects is dangerous. It's like trying to operate a chainsaw without a handle. Whenever I get a new VB project to rewrite I always have to stop and remember "don't touch _anything!_". Then I sneak around like Indiana Jones in a lost temple filled with traps.
JackMorgan#
I make a good living turning VB+Access messes into something modern and stable. After a point it's such a huge mess that it's either rewrite or leave it untouched forever. Sometimes it's important enough to pay someone to untangle the whole snarl of cables and turn it into a modern project that can be handed off to a dev team. Thankfully it's usually pretty straightforward to get all the data out into a modern SQL database and whip up a bunch of CRUD forms in react. The hard part is what to do with all the bad data that is inevitably in the Access database. That often takes the most time, just getting them to clean up all the bad data.
rvba#
Most of those were built by non programmers for "free" (no extra pay).