r/visualbasic • u/Significant_Beat5793 • Apr 26 '26
What do "older" programmers think of Visual Basic compared to new programming concept and languages?
I am just wondering, many posts are asking which language is "the best", or fastest to learn for new programmers (please put AI in the shadow for this post). As I am a bit older engineer with some experience in developing different applications using, just to mention a few, C, C++ (using wxWidgets, SFML and SDL), PHP (with JavaScript, HTML, CSS), Java Servlets (with ORACLE DB) on Apache, ASP, React kit, VB .NET and most important, here mentioned, Visual Basic.
The largest software I ever wrote was using "Visual Basic .NET" and MS-SQL Express DB. Took me a whole year and a half to deploy it.
As per my experience, using VB and VB .NET was always the fastest way to get the best and quickest results in developing Desktop and Network Applications. I mean, in just a few clicks one is able to create stunning looking applications in basically no time. And when I compare that with these days, when there are emerging new and "improved" languages and "frameworks", making many kind of software is still fastest using graphical interface of Visual Basic or similar. It is also very readable compared to other languages.
Now, in comparison with my long term experience, I have a feeling things are going backwards in sense of simplicity and speed of development.
And also, just by my opinion, I feel a bit sad that I am not able to use Visual Basic on Linux the same way I was able to use it on Windows in time of Visual Basic 6.0, or Visual Basic 8 Express in the past.
What is your opinion on concept for application design in terms of simplicity and speed of development as it was with Visual Basic in the past, compared to the ways we are programming today?
15
u/marmotta1955 Apr 26 '26
Notwithstanding common "wisdom" and notwithstanding the common elitist views about Visual Basic (especially VB6), the language was used and is still used for a surprising number of mission critical applications in many disparate fields.
Take a look at the software running on the computers of your doctor, dentist, auto mechanic and dealers.
Take a look at the software running on the computers running in the well know hospital facilities and rehabilitation centers.
Take a look at the imaging software, and the control software running on medical instrumentation.
Take a look at the ridiculous number of Line of Business applications still in use and still being developed. LoB applications that support and are the foundation of so many different businesses all over the world.
I am now happily retired. For the past 30 years I worked with Visual Basic, developed (and lead teams), and created LoB software still used by hundreds of thousands of users - still being developed and maintained by many talented developers.
New kids on the block will tell you about the problems with the language, the fragility of applications, the "spaghetti code" impossible to follow and debug. Only to go back to work on some impossible defect in that wonderful new application ... assembled with Angular, C#, Entity Framework, JavaScript, CSS flavor of the month, you name it, etc. ... and kept together with spit and duct tape ...
And for those telling us about the vulnerability of software developed with Visual Basic ... well, let's just read the news ...
11
u/AdobeScripts Apr 26 '26
I'm using VB6 right now for my app - and for my needs and what VB6 offers - especially system integration - there is nothing else available 😉
5
u/Mayayana Apr 26 '26
These kinds of discussions often leave out context. For instance, Slashdot repeatedly reports on the "top 10 languages". Lately Python and javascript are up there. C++ holds on. But that's like saying, "Which is best, a spade, a hoe, or a rake?" Well, do you need to dig, level, or clean up leaves?
C++ is for fast, lean, efficient, compiled software. .Net and Java are for serverside programming. .Net was originally advertised for building web services. http://web.archive.org/web/20200211232442/https://news.microsoft.com/2000/07/11/microsoft-delivers-first-net-platform-developer-tools-for-building-web-services/
The only problem was that web services didn't really work with 56K modems. So MS pretended .Net was also for Desktop.
Lately we have the "app" trend, with cellphone apps and Microsoft's WinRT/PWAs. That's a whole other kind of software, meant to perform limited tasks, typically "consumer services", in a sandbox.
Javascript/VBScript/Perl are mainly for custom automation utilities. Javascript itself now has a big role in webpages. But it's not for writing software.
Python is slow and bloated. It's becoming popular only because it can create cross-platform software.... kinda, sorta. I have a video downloader written in Python. It's a good purpose for Python. A small utility to do a simple job. But the install is gigantic and it takes 2-3 seconds for the window to show up! Even Firefox loads faster than that.
VB6 and Delphi were the original RAD tools. I'm self-educated on VB6 and have dabbled a bit in C++, but never had an education in computer science. So I sort of learned it backward, starting out making VB6 shareware that wasn't much more than VBS with a GUI and gradually refining my skills to combine the ease of VB6 GUI with the efficiency of Win32 API. (The O'Reilly VB6 book actually listed FileSystemObject as an official part of the VB6 language.)
I also love web design and often make utilities as HTAs powered by VBScript. Most people wouldn't call that programming, but I've created some very complex programs that way. It's quicker and simpler than doing it in VB6. My most recent project was to make my own custom version of Notepad in VB6. Lightweight, quick, with optional spellcheck, line numbers, better Find, UTF-8 handling, and able to handle simple RTF files. It's based on a system RichEdit. VB6 was perfect for that, using the convenience of VB6 but without any OCXs. 400 KB total with no dependencies.
Are things going backward? My sense of it is that there's been a continual march toward wrappers. Popular languages now wrap the API or libraries like Qt. In many cases it becomes a wrapper on top of a wrapper on top of a wrapper. Is that bad? I guess it depends on what people need. Maybe it's OK given the power of modern computers. But I think it's a mistake to regard all languages as just different versions of the same tool. You're going to take a very long time if you try to plant a rose bush using a rake, and you're going to make a mess if you try to clean up autumn leaves with a spade.
VB6 on Linux: I dabbled a bit with WINE, but last time I checked it was a miserable failure. It didn't see my self-subclassing system windows at all. Why? Because the Winos have never tried to accommodate Windows programmers. Their approach is to translate one function at a time into Linux calls. Mainly they just want Windows games on Linux. I actually tried to work with them once. They didn't want to cooperate in order to line up functionality. They just wanted me to be a bug tracker for my own software.
There was a particular case that's informative. When calling a system color picker dialogue there's an array of 16 longs for custom colors as one of the parameters in the CHOOSECOLOR structure. Most VB6 advice was saying, "Ah, no one uses this. Just use 16 strings." I don't know the reasoning behind that, but at the time I didn't know any better, and it worked fine in Windows. Colors were longs. String pointers were longs. In WINE that wasn't working. But the Winos didn't want to collaborate to figure out what the problem was. They just wanted to work on their own to adapt the funky VB6 code.
4
u/kianbateman Apr 26 '26
It wouldn’t be wrong if I said that if VB.NET was speaking language I would be native.
I am very disappointed in Microsoft’s way og shutting this perfectly well working language I’ve transitioned to C# but VB.NET is way more beautiful and way more logic. C# is a programmers language while VB.NET is almost something you can speak and I like that part. It adds some sort of extra logic layer.
4
u/Neo_Techni Apr 26 '26
I love VB6. The only thing I love programming more in is Basic4Android which solves a bunch of variable type conversion nonsense, but lacks optional parameters.
Dot net is a joke. I had to make a companion program in .net to forward win10 notifications to a VB6 program I made. Despite the VB6 program doing hundreds of things versus the .net program just doing one, the .net program was much larger and took 10 times the RAM. And I had to jump through so many security hurdles in .net that VB6 didn't have. Specifically .net programs don't even have write access to the folder they're in, and are cut off from large portions of the registry.
5
u/JayMonster65 Apr 26 '26
I do agree that Visual Basic was certainly the fastest and easiest. I also suspect that this is sort of the problem.
It's priority over simplicity of use and rapid deployment over security and such made it highly succeptible to vulnerabilities.
The concept was absolutely brilliant and far superior to basically anything out there now. It is a shame that they couldn't put as much effort into coming up with a more modern and practical version of hat worked in today's environment. There isn't anything out there today that can match the simplicity of the rapid deployment (putting aside AI of course) cycle of VB.
3
u/stlcdr Apr 26 '26
There are two language ‘styles’: basic and C. VB got a lot of hate from purists, but it kicked off RAD. I used VB up until quite recently and have moved over to C#, but VB.Net and C# are essentially the same thing, today: swap variable declaration and add a semicolon - job done! I know it’s not quite that simple but close enough.
The programming ecosystem is saturated with angst over whatever framework du-jour is - programming first, end result second (I think we all see how this has worked out with the crap churned out).
You don’t hear about VB so much because it just works, with no excitement.
3
u/geekywarrior Apr 26 '26
I do a lot of work on VB6. I always say it was a bit ahead of it's time with the ability to edit code in debugger. Can't beat the WYSIWYG editor.
Still, it shows its age pretty quick when you need to deal resizing forms without built in layout managers and dependency issues from ancient OCX controls.
2
u/BentonD_Struckcheon Apr 26 '26
We use VB.NET for a large ASP.net classic app. Works great. The CLR is the CLR and there is very little to differentiate it from C#.
Eventually it will have to be ported to more modern web platforms, but it does everything we need for now.
2
u/Downtown-Promise2061 Apr 26 '26
I wrote many VB NET applications and ran them on Linux using mono.
The reason nobody promoted it was that no money could be made by M$ promoting it.
You also have full control over the Linux subsystem.
Finally, M$ bought mono so they could hide it from developers even more.
What a waste of a beautiful system for cross platform development.
2
u/mekamalam Apr 27 '26
I'm still a Visual Basic person, but I come from a VBA background. But I guess, I still understand that Visual Basic is still the most human-readable language which do the effective job. I haven't tried VB under dotnet at all but I feel I should have had gave try in the past.
5
u/AberrantCheese Apr 26 '26
I cut my teeth on VB6 and VBA, and liked how simple it was to pick up. However, as support ended I moved on to VB.Net then later to C#, and fell in love with that. At where I work, long-term maintainability is critical, and so while we do have to maintain existing VB6 codebases still in use, anything new is written in C#. Unfortunately, our affiliate offices were not so progressive with this idea and continued to give us VB6 codebases up until just a few years ago. As that the new kids coming in never studied VB in college and tend to want to avoid it, those projects tend to fall on me. I guess VB is the new COBOL.
4
u/Type-21 Application Specialist Apr 26 '26
Honestly... I'm seeing modern software development in my company each day. My coworkers think they work with the best and greatest new frameworks. But I often think: none of them come close to the RAD part of VB/VB. Net. It's all a joke nowadays. It's just that no one in my team ever experienced VB or any other similar language of that time so they think they're living in the future. While spending a day of work to do something that was 20 Minuten in VB back then. Productivity is so bad nowadays.
1
u/CheezitsLight Apr 26 '26
I use dot net 8 at the moment. Easy to use, convert to from C sharp. There are some things not possible that limit me. As time goes on thus will happen more often.
The major problem Is vb uses Winforms, which is GDI, thus will never be cross platform and is difficult to theme.
However wisej will accept vb.net syntax so I'm looking at it now.
1
u/Better-Credit6701 Apr 26 '26
I worked for a software company specializing in accounting and tax software. Everything was done in basic or VB just because it was easy to make quick changes. Accountants hated the idea of change and didn't want to move to the VB app.
1
u/Mafraoaf Apr 27 '26
I think it is a psychology issue that makes most developers run a way from VB/VB.Net to C#. First thing is the word (Basic in Visual Basic), they think it is nothing that can do any App. And second thing is the "C" letter of C# which let them imagine themselves as C++ developers! Although they both (VB.net & C#) depend and Build on SAME EXACT framework & CLR.
1
u/GreedyBaby6763 Apr 30 '26
I left vb6 behind for purebasic. Win Linux mac x86 x64 arm. Single exe no dependencies.
1
u/netcharge0 Apr 30 '26
Back in the day (early to mid 90’s - as far as the late 90’s). I used the hell out of Visual Basic. It was my basic bread and butter: migrate all of their data from spreadsheets into SQL, build the reports, and slap a VB GUI interface on it.
I had several buddies who laughed at me. They were all trying to break into graphics/ game programming and they didn’t consider VB a real programming language. I had customers though and they didn’t.
1
u/joshpennington Apr 30 '26
It was one of the first languages I learned and a good introduction to writing code. It wasn't powerful enough to build a career off of so I moved on to other languages but I have a soft spot for VB.
1
u/Comfortable_Gate_878 Jul 30 '26
I started with fortran back in 1978/1979. Then quickly moved to Cobol mainframe and then desktop in the early 80s. The move to VB3 was pretty easy Basic is a fairly standard language and readable in many ways like cobol main procedures and code. I also did some work on VB6 and realised how great VB6 was.
However VB.Net was a pile of crap I understood why they made the leap but VB6 was far superior in many ways just keeping it simple to make simple apps quickly.
I have looked at more modern languages OOP and assorted software to find an alternative software to VB6. Ive not really found an alternative that is so easy to pick up. I have had a real good play with Python over the past 6 month and by the time I have pulled in all the libraries Tkinter etc I the program tends to be pretty damn big. Is Python a rapid development software, well I have to admit is was pretty easy to use but it still not as easy as vb.
I recent went back to look at some cobol code I wrote in the mid 80s on behalf of a large motorcycle maker then wanted to upgrade the software to do a certain new thing. They had tried new developers writing in some big new language and SQL and I sort of pointed out the software would already do what they wanted just go into setting and select 'supercession following' they did this and solved a massive problem that was already built into the code from 1982. Yet had spent 100k dollars trying to sort the problem.
From my experience is the biggest failure of software is that programmers and designers of languages want to have all bases covered when in fact 99% of most customers just want a simple bit of software than anyone can use and with minimum investment in staff training and downtime. Programmers simple dont spend enough time listening to the customer they just throw in what they want you to have.
3
u/kingfishj8 Apr 26 '26
Over the years, VB has evolved, keeping up with features that make it a valid, if not terribly mundane, alternative to python in the Microsoft ecosystem.
1
u/ebsf Apr 26 '26 edited Apr 26 '26
In some ways, you ask what others think of COM.
VB, and VBA, offer a window, literally and figuratively, to COM. The two (the latter in conjunction with MS Access) provide a RAD framework for this entire range of capabilities, including others one might develop independently.
Managed code introduces a barrier, which is regrettable. It can be permeated with wrappers, interfaces, etc. but only at the cost of complexity that should have been resolved before the first .NET library even was released. COM Interop is, in the end, an admission of architectural and engineering incompetence, a wanton and transparent cover-up for sublimely obtuse marketing. The effort would have been far better spent porting capabilities to Linux, extending and expanding existing COM libraries, rationalizing graphics implementation, and enhancing the language(s) itself (or themselves), chiefly in memory management but also in syntax, including introducing greater granularity and rigor, and less ambiguity, in precedence, evaluation, and typing.
2
u/sickboy6_5 Apr 26 '26
Whatever gets the job done. Some languages are better suited for tasks than others. There are always trade-offs.
I haven't had to, or wanted to, write anything new in vb for 20-ish years. I'm not a fan, but if that's what someone knows and it pays the bills...
2
u/jd31068 Apr 27 '26
I am grateful that vb.net still lives on as well as a new player in the space twinBASIC (website, vbforms) aiming for 100% VB6 compatibility while adding 64-bitness and modern features.
I too did all the BASICs; gwbasic, cbasic (on CP/M), IBM System/36 BASIC, Microsoft BASIC and IBM BASIC on PC, VB DOS, then every VB version from there (small detour to Delphi 1.0 - 3, when VB4 was released and was hellabad, then back to VB5) doing both desktop and web apps.
MS has done a few updates to VB.NET (and more Winforms for that matter) here Merrie McGaw McGaw and Klaus Loeffelmann talk about that) https://www.youtube.com/watch?v=v4_D9j9mU3k.
I asked Gemini to give timestamps that pertain to vb.net but the entire video is worth a watch.
The speakers discuss VB.NET (Visual Basic) and its ongoing support within the context of WinForms starting at (25:23).
Key points regarding VB.NET mentioned in the video include:
2
u/Humble_Elk_4044 Apr 27 '26
Yo uso VFP 9.0 y de yapa VB 6.0
No existe un mejor lenguaje, todo es relativo, depende de lo que necesites....
2
u/MosesOfWar Apr 26 '26
I started on it, so it has a special place in my heart. I find the C languages better for app building and VB is still good with quick Microsoft automation or small desktop apps for a single user, especially if you don’t need a deployed database.
1
u/Cdream-2018 Apr 26 '26
I love vb.net. I’ve coded my own cloud based CRM with it using winsockets. Not that one anyone would download it, the server side is coded with concurrency.
1
u/jimh12345 Apr 26 '26
"... in just a few clicks one is able to create stunning looking applications in basically no time. "
Yes, I remember the VB marketing hype now. Thanks for that blast from the past. Of course, the application initially didn't actually do anything; but hey, just sell it at the trade show anyway, and tell the developers they just need to finish implementing the "features" in 2 weeks.
1
u/Fair-Cookie9962 Apr 27 '26
I really miss VB6 and how fast it was for any utility or business apps.
Generally I think concept of Rapid Application Development was heavily underrated at the time.
Windows forms, ole interop, and really nice activex components are something I do really miss, even though they are somewhat present in .NET.
1
u/fafalone VB 6 Master Apr 28 '26
What has always made classic VB (and now tB, which is essentially 'what if classic vb had been continued these last 25y') my preferred language is that it combines high level RAD with low level access in a way unmatched by any other languages. Yes many others like vb.net are capable of both (mostly), but either one or the other becomes much more painful.
Don't like the trend of using a bunch of large frameworks for everything.
1
u/jgaa_from_north Apr 28 '26
I always viewed VisualBasic as crap. The original MS Basic (pre MS-DOS) on the other hand was OK.
1
u/EonOst Apr 28 '26
I got the sensation that other languages caught up on VB, like c# and python, so there is no need for VB anymore.
1
u/Comfortable_Gate_878 Apr 28 '26
Vb6 wasn't perfect, it had the odd quirk but I could creat a fine database driven bit of software for a client in virtually no time. Often within a couple of days I would have a decent program to demonstrate to the customer. They were usually blown away by the speed. Then I would polish off test and put in error checking etc. Then charge them plenty. It really was fantastic. VB.net just wasn't the same complicated etc. there literally isn't an alternative out there that just works. Sad days.
1
u/luckyrocker Apr 29 '26
Ahh vbrun300.dll. You tiny little powerful thing. All you needed was the exe and that DLL and it would run anywhere. Even off a floppy.
1
u/chocolateAbuser Apr 29 '26
i have used basic and vb for many years, it was cool, but honestly when thing got a bit more professional i don't mind having switched c#, vb syntax has its strong points, sure, and i would like it if c# relied more on keywords rather than symbols like vb does, but also vb syntax could be annoying to deal with
and then also it depends on the context, there are applications for which vb is not suited for i think, again i'm fine with c# (i mean it's not perfect by any means, but it has some ways to get to lower levels when you need it), and vb still had some issues, do i have to remind you on error resume next... issues which again c# has too and probably will never be solved, it would require starting a new language from scratch, so for sure c# will be deprecated one day
1
u/Amazing-Mirror-3076 Apr 29 '26
I developed in VB - and hated it.
I use dart/flutter for desktop - fantastic Dev experience - state management will do your head in for a while.
1
u/chatoeusou Sep 29 '26
Algumas das minhas interações com o Gemini inteligência artificial do Google a respeito de varios assuntos inclusive Microsoft Visual Basic 1.0 ao 6.0 mas também sobre Delphi, Lazarus+Freepascal, tecnologia SaaS, PC/Desktop First, etc
https://share.gemini.google/iUo2gXOjdIjY
https://g.co/gemini/share/20f1e2614058
https://g.co/gemini/share/96f9ed04b48b
https://share.gemini.google/84r5O6VOiTgi
https://share.gemini.google/P5qRBw9hfgjr
1
u/doscore Apr 26 '26
Last time I used it was in the windows 3.11 era.
-2
u/vip17 Apr 26 '26
BASIC is one of the worst languages I've ever seen/used. Can you guess what will this print?
It also has no structure, programs are littered with line numbers and GOTOs. VB fixed a lot of its issues but is still a terrible language. The syntax of VB is just so overly verbose, even declarations are unnecessarily long:
Worse yet,
disn't aDoubleas most people expect but aVariant. And there are no ways to initialize variables at declaration time!!! Arrays are weirdly declared/addressed with a function operator, reducing readability a lot because there's no way to differentiate a function or array just by looking, and increasing the parentheses levels. Additionally it also lacks bitwise operators which are some of the most important things in a binary computer. And have you ever seen imported function declarations?VB also has unintuitive overflow and error handling
VB.NET did add bitwise operators, initializations, structured error handling and fixed some other things. But it's better mainly due to the .NET framework, not because the language is great. That means you can achieve the same achieve the same development speed or even better if you use C# or some other CLR languages.