Slashdot Mirror


Microsoft Urged to Open Source Classic Visual Basic (i-programmer.info)

"On the 25th anniversary of classic Visual Basic, return it to its programmers..." reads the plea at UserVoice.com from Sue Gee -- drawing 85 upvotes. "The new Microsoft claims to back open source, why not in this case? There is no need for Microsoft to do any more work on the code base - simply open source it and allow the community to keep it alive."

In an essay at i-programmer.info, Gee shares a video of young Bill Gates building an app with Visual Basic in 1991, and complains that in the 25 years since Microsoft has open sourced .NET Core and the .NET Compiler Platform Roslyn, "but it has explicitly refused to open source VB6." She notes that Friday Visual Basic's program manager announced a "Visual Basic Silver Anniversary Celebratiathon," promising he's reaching out to the VB team members from the last 25 years for a behind-the-scenes retrospective, and adding "this is a party, so feel free to be interactive."

"What the post glosses over is that this history was blighted by the fork in the road that was .NET and that many Visual Basic fans are highly unsatisfied that the programming environment they cherished is lost to them..." writes Gee. "Vote for the proposal not because you want to use VB6 or that you think it is worth having -- Vote for it because a company like Microsoft should not take a language away from its users."

59 of 331 comments (clear)

  1. ummm.no. by lord+merlin · · Score: 5, Insightful

    Let it die. It's a terrible language and it should die a death. don't open source it or you'll just encourage a new wave of cheapskate programmers to start learning bad habits and producing crappy code.

    1. Re:ummm.no. by U2xhc2hkb3QgU3Vja3M · · Score: 2

      You never watched ST:TNG?

      When something strange happens, it's always Q.

    2. Re:ummm.no. by Anonymous Coward · · Score: 2, Informative

      "People" aren't passionate about VB6. Businesses who don't want to get their production code out of the 20th century, and they're out there, are passionate about VB6.

    3. Re:ummm.no. by rakslice · · Score: 2

      Aren't these people or their successors busy doing the same thing already today in Ruby or Python or JavaScript? At least in VB6 you have the _possibility_ of declaring a variable type.

    4. Re:ummm.no. by Billly+Gates · · Score: 4, Funny

      Let it die. It's a terrible language and it should die a death. don't open source it or you'll just encourage a new wave of cheapskate programmers to start learning bad habits and producing crappy code.

      I sooo agree man they shouldn't open it! Hold on let me finish this JavaScript project I am working on ....

    5. Re:ummm.no. by ArhcAngel · · Score: 2

      Actually I think Mclaren is working on an upgrade for their F1 support PC and were hoping to use VB6.

      --
      "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
    6. Re:ummm.no. by hairyfeet · · Score: 5, Insightful

      Wow...elitist much? There is absolutely nothing wrong with VB6, just because you have seen sloppy VB code don't mean shit as I can go over to stack overflow and find examples of shitty code in any of the new hip languages that you like.

      VB6 is great for one REALLY specific job, which just happens to be a job that small to medium businesses require quite often, which is "make a quick and simply GUI to a DB" and it does that job very very well. In fact I've never seen anything else that could whip off a GUI to a DB as easily or as quickly as VB.

      So instead of being elitist why not just except that every language has a place and it serves NO purpose to not open up the code, or are you just against open source in general? Because frankly I find it quite shocking that so many here would actually be against opening the source to ANY code that is now proprietary,what happened to /. being a big pro FOSS site? I really can't picture someone asking RMS if VB should be released under say the GPL he would go "Naw fuck that shit man, some things shouldn't be given to the people!" can you?

      --
      ACs don't waste your time replying, your posts are never seen by me.
    7. Re:ummm.no. by Sperbels · · Score: 2

      What is with all the hate towards JavaScript and Python, especially JavaScript?

      One could say the same thing about VB6. I discovered many years ago programmers are rather irrational and dogmatic about computer languages. Many of them are just repeating what others have said and don't have good explanations for believing the things they do.

    8. Re:ummm.no. by TheRaven64 · · Score: 4, Informative

      I have actually seen well-written VB6 code. Once. But it worked as an existence proof. It's actually quite a bit easier to write good VB6 code than it was in earlier versions of the language. Most of the VB hate comes from the fact that it was so easy to use that it attracted a load of really bad programmers. These days, most of those folks have moved on to Python.

      --
      I am TheRaven on Soylent News
    9. Re:ummm.no. by SuperDre · · Score: 2

      Sorry, the language itself isn't bad, I've seen far worse code being done in (VB/C#,F#,whatever).NET or C(++), just like I have seen good code in both..
      VB6 isn't the problem.. The mentality of people who think the language they use is much better, is even worse..
      Yes you can write crap code in VB6, but you can write crap code in any language..
      To be honest, I think the syntax of VB6 is one of the best/clean syntax around, BUT the compiler and lack of real OO certainly isn't (but as stories goes, VB7 was already feature ready (which did include real OO) but was canceled at the last moment because they wanted to push .NET).
      I do think opensourcing VB6 (or rather the internal available VB7) would be a good thing, but I also think people should only use it for 'legacy' applications and not start a new big project using it, especially because everything is moving to 'the cloud' (whatever that exactly means)..

    10. Re:ummm.no. by silentcoder · · Score: 2

      >A discarded napkin?

      Personally I find discarded TP to have a higher throughput but that may be limited to MySQL post-Oracle.

      --
      Unicode killed the ASCII-art *
    11. Re:ummm.no. by silentcoder · · Score: 4, Insightful

      >These days, most of those folks have moved on to Python.

      Somehow I doubt that. The people who mostly used VB were not *just* looking for an easy language, they were looking for an easy language to write Windows GUI apps in. Python is decidedly difficult to do GUI work in as you need to learn a GUI library, and there is no common standard [well there's tikinter but nobody actually uses that and with good reason]. So you could use QT which works on all platforms but unless you want to GPL your code that costs a pretty penny, or GTK - and each time you're fighting with a library designed for a different language and badly integrated. Ubuntu had some project to try and make easy python GUI programs with but that only ran on Ubuntu desktops so... meh.
      There is WX which is a wonderfully lovely library to code with - and has one of the most horrifying build and dependency chains I have ever had the horror of dealing with. KiVY has some of the ugliest interfaces I've ever coded to, tough it does have the advantage of being portable to the extent that you can write python apps for android with it (though in theory you could also do that with QT).

      Of course, of all the platforms python runs on - the one it is *hardest* to write a GUI app for is Windows. If you want multiplatform you'll have to bundle your chosen library. Coding directly to the Win API in python is .... weakly supported at best, the runtime environment isn't present in general and in fact, it's so badly supported that most python devs who DO want to ship something for windows end up using a compiler that builds their entire application as well as the python interpreter into a self-contained EXE just to spare their users the horror of trying to install dependencies where every concept of a package manager is a badly designed bolt-on like NPM.

      Simply put... for all it's wonders (I love python), it's a terrible fit if your goal is to write windows GUI programs. The language per se may be fine for it, but the support structures to make that easy simply does not exist. I suspect most former VB coders (and the people who followed in their footsteps) are coding in C# actually. That's the easy language to write a windows app in today, and if you're a diligent and disciplined coder you could even make it run in Linux with Mono. Not that many people do, mono isn't even installed by default by any distros I know about anymore (though most still include the open-source Java), but it at least exists and it did lead to things like the Unity engine being cross-platform.

      --
      Unicode killed the ASCII-art *
    12. Re: ummm.no. by dunkelfalke · · Score: 4, Interesting

      Delphi can do everything VB6 can, but much better.

      --
      "It's such a fine line between stupid and clever" -- David St. Hubbins, Spinal Tap
    13. Re:ummm.no. by segedunum · · Score: 2

      "People" aren't passionate about VB6. Businesses who don't want to get their production code out of the 20th century, and they're out there, are passionate about VB6.

      Look at COBOL. People do not rewrite their business applications just because you happen to think they should, nor will they spend money on developing a new application......that does exactly the same thing. Sorry, but that's not how the real world works.

    14. Re:ummm.no. by Dcnjoe60 · · Score: 2

      Let it die. It's a terrible language and it should die a death. don't open source it or you'll just encourage a new wave of cheapskate programmers to start learning bad habits and producing crappy code.

      And what's the problem with that? After all, one can create crappy code with any language, Programming languages are simply a tool and a tool in the hands of craftsman can do wonderful things. Instead, without VB6, people have gone on to use VBA in MS Access and Excel. Cheapskate programmers, as you call them, will use whatever is available, even if it isn't the right tool for the job. However, it isn't your's or mine or Microsoft's responsibility to protect people from themselves.

      So, what is the harm is it is released open-source? Either there is a market for it and people will use it or there isn't and it will die off. After all, the whole point of open source is about freedom. Why argue to limit it?

    15. Re:ummm.no. by LWATCDR · · Score: 2

      "VB6 is great for one REALLY specific job, which just happens to be a job that small to medium businesses require quite often, which is "make a quick and simply GUI to a DB" and it does that job very very well. In fact I've never seen anything else that could whip off a GUI to a DB as easily or as quickly as VB."
      Might I suggest Java? It is also multi-platform.

      You are correct in that VB was good for that very common task. Today they all seem to want to use a web interface but you know sometimes I do not want to have to set up a webserver and a database server. If you want to keep track of your record collection or books and do not want to have to use the internet and or setup a server then VB or java with a simple database like the access engine or sqllite can be a good solution.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  2. While we're at it... by AmazingRuss · · Score: 5, Funny

    ... lets let smallpox out of those freezers.

    1. Re:While we're at it... by ColdWetDog · · Score: 4, Funny

      At least smallpox doesn't always cause permanent brain damage.

      --
      Faster! Faster! Faster would be better!
  3. Maybe it's a good thing by Anonymous Coward · · Score: 2, Insightful

    All the .NET apps i've ever had to use (and install huge runtimes for) have been glorified VisualBasic applications.

  4. Sorry For This Post by fuo · · Score: 2

    I Just Felt The Need To Make A Post With The First Letter Of Every Word Capitalized.

  5. Should have done it a long time ago by phantomfive · · Score: 4, Insightful

    If you're not going to maintain a platform, you should open-source it so people who care about it aren't abandoned without hope. I don't like VB but the way Microsoft dropped it was not good.

    --
    "First they came for the slanderers and i said nothing."
    1. Re:Should have done it a long time ago by Dutch+Gun · · Score: 2

      I can sort of understand why some companies aren't so eager to open source dead code. Open sourcing it means that anyone can look at the code and check to see if it used someone else's patented algorithm, or happened to use source from a non-permissive license which wasn't disclosed, or any number of other issues...

      Legal issues tend to kill a lot of good ideas and intentions. MS is fine with open-sourcing their active concerns when it will help promote their own products, but I wouldn't hold my breath for something like this to ever happen. It would involve sticking their neck out (legally speaking) for no perceivable gains.

      Some people predict that Windows will eventually go open source. My bet is that it will never happen simply for legal reasons.

      --
      Irony: Agile development has too much intertia to be abandoned now.
  6. Sense of entitlement, anyone? by BarbaraHudson · · Score: 4, Insightful

    Vote for it because a company like Microsoft should not take a language away from its users

    If you bought a copy, you can still use it if you also bought a copy of the OS it ran on. Nobody is taking anything away from it's users. Same as I've got old copies of dBASEIV and dBASE5 that still work just fine, even though they aren't officially supported any more. I can even make redistributables with dBASE5 without a per-user-count limit.

    Not that I would - it's as dead as VB - though of the two, VB is the more deserving of death.

    --
    "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
  7. Let it fade into memory by LesFerg · · Score: 4, Insightful

    Let it become a fond memory for those who loved it, and forgotten by those that didn't.
    We seriously don't need it. It was an interesting emulator of OO but not really OO, lacked a lot of features that are now-days built in such as a simple dictionary type, and required a lot of tedious coding which languages like C# have reduced and improved on.

    I'm not a VB hater, I used it when my job required it, still have a legacy code base to support until we get round to replacing the old DLLs with some C# alternatives, and I feel that I have a fairly comprehensive knowledge of VB, but it is no longer pleasant or preferable to code in it.

    --
    If I had a DeLorean... I would probably only drive it from time to time.
    1. Re:Let it fade into memory by eWarz · · Score: 2

      While I do disagree with the proposal in general, VB wasn't about OO, it was about "getting shit done". For the same reason that a lot of people did bat-shit insane stuff in excel, in VB you could whip out an app in record time compared to other languages and frameworks. Note that this niche has been filled, NOT by anything Microsoft or fan-made, but by none other than Ruby on Rails. The same reason why VB is popular (quickly and easily able to build apps while also having the ability to access the low level API) is also why RoR practically dominates Agile development and why companies continue to pay record breaking salaries to RoR developers today.

  8. They may not be able to open source it by jonwil · · Score: 5, Informative

    Its entirely possible classic VB contains code that Microsoft licensed from 3rd parties and is unable to open source.

    1. Re:They may not be able to open source it by jonwil · · Score: 4, Insightful

      Yeah that's the other problem for Microsoft in open sourcing VB. Even if its not using 3rd party code that Microsoft cant legally open source, its using all sorts of code shared with other components that Microsoft doesn't want to open source. The IDE and tools likely share a bunch of code with other things in Visual Studio. The compiler engine for VB (the native-code compiler specifically) is using the same C2 compiler back-end as Visual C++. Code in VB may also be shared with code in its office products (including VBA stuff). Not to mention all the database integration stuff is heavily tied into the Access JET database engine and related components which would need to be open sourced as well.

  9. Even slightly sorrier by fyngyrz · · Score: 2

    I'mJustHereToTellYouThatYou'reWastingSpace.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:Even slightly sorrier by Anonymous Coward · · Score: 2, Funny

      Stp t! Nbd ss vwls nmr.

  10. Too many floppies? by Anonymous Coward · · Score: 4, Funny

    Maybe the source is just too large to distribute??

    1. Re:Too many floppies? by Buchenskjoll · · Score: 2

      and bob's your uncle.

      In this day and age it might as well be Alice.

      --
      -- Make America hate again!
  11. Stahp by PopeRatzo · · Score: 2

    The word "Classic" is way overused.

    --
    You are welcome on my lawn.
  12. I agree, FOSS It! by Anonymous Coward · · Score: 4, Interesting

    Most /.'ers on here will spout off at how bad visual basic is/was. They'll lean on their programmer armchairs and say it was a horrible language let it die.

    But in reality most of these /.'er probably haven't touched code in their life. VB targets someone who wants to make a graphical Windows program without much fuss. Sure, some people can spend 3 years of their life learning C/C++ then another year or two learning a Graphical API to produce a Windows program. (Or pay someone $100k a year to do it.) Or they can learn python in a year and a python API in another 6 months. (Or pay someone $75k/year to do it.) But for many programs this is overkill. That's why Basic exists, this is why VB, Gambius, QTBasic, beOS-Basic and many more existed. Sometimes you don't need a scalpel to do the job of a hammer.

    Was VB6 over used? Yes. The real issue with VB stemmed from the corporate environment. The problem was two fold, firstly you never got fired for using Microsoft, and secondly, VB programmers were much cheaper than C/C++/Java etc. There are many complex programs out there in VB that should have been done in a lower language. Specially in the business world. But that does not make VB bad. VB is quite useful for 'basic' programs. .Net failed to understand this. I believe Microsoft saw how many complex VB applications existed in the business world. So they made .net more complex than it needed to be. In doing so it lost its point.

    All of this said, I believe Microsoft should FOSS VB6. But I also believe that if the VB community wants VB, they need to make their own VB. A free, cross-platform, basic with a visual editor using QT or wxwidgets would be far more useful for many over the long haul than trying to revive a dead language for an extremely slowly dying OS.

    (Disclaimer, I used VB5 in high school school to write IRC clients and Trojans before moving on to C++ for the last 20 years or so. ;) )

  13. Re:Wherefore? by sg_oneill · · Score: 2

    Delphi absolutely killed VB on this front. It had all the visual drop and drag chops , tied to perfectly servicable modernization of Pascal that dropped all the "crap at IO" features of old Pascal, and added a robust C++ like object model. Plus if you really had to you could still use those VB active-x controls. But more often then not more competently implemented alternatives where available in Delphis vast open source ecosystem.

    Unfortunately Borland was/is a horrible company that continuously canibalized its own developer base with its horrific licensing fees and unwillingness to service the student market (Meaning no new delphi devs coming online).

    So C# / VB.net it is.

    --
    Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
  14. Re:Wherefore? by Bing+Tsher+E · · Score: 2

    Borland wasn't always like that. Something had changed in the Delphi era.

    Turbo Pascal and Turbo Basic were extremely accessible back when a compiler from most vendors was the opposite of accessible and affordable.

  15. I'll go you one up by fnj · · Score: 2

    It's a good proposal. I'll give you an even better one. OPEN SOURCE WINDOWS XP (or 2000, or 4.0; I don't care, any of them would be golden, but XP has a better starting point for supporting newer classes of devices). If Microsoft is too goddam flaming stupid and helpless to carry forward support and patching and implementing support for newer devices, to hell with the bastards. Let the community do it.

    OK, look, I know why they would never do it. They bloody well know they couldn't sell their shitty newer OSs, because XP is far superior, whether or not it is free as in beer.

  16. Exactly! by tlambert · · Score: 5, Insightful

    Businesses aren't the ones demanding the source for VB6.

    Exactly! What cashflow strapped small business with 15 employees running on Windows XP with a hardware firewall between them and the net, with a huge amount of Microsoft and third party components, all glued together with VB6, wouldn't want to:

    * Upgrade 15 old machines so they could install a 16th machine
    * Have to have someone "upgrade" their entire business IT infrastructure to .NET (hope it works!)
    * Re-buy all the components they were using
    * For the components they were using that aren't available on .NET, pay someone to rewrite them from scratch
    * Convert all their historical data
    * Replace all their old printers, since old printers never have drivers in new OS's
    * Retrain all their employees on the new stuff
    * Hope there aren't any business-ending "quirks" in the new code

    I mean who wouldn't love that?!?!?

    ...wait. I'm beginning to see the problem here...

    1. Re:Exactly! by rtb61 · · Score: 3, Insightful

      Such is life, if you keep wanting to produce buggy whips when there no horses on the streets expect to fail. If you took on computers early, you ended up having to make a lot of changes over the years, that's just the way it is. Basis is just so done, accept it, if changing causes you to fail, then accept failure, there is no escape.

      --
      Chaos - everything, everywhere, everywhen
    2. Re:Exactly! by Dutch+Gun · · Score: 5, Insightful

      VB6 is simply a tool to get shit done, quickly and easily. If you couldn't do it quickly and easily, then it was the wrong tool for the job. People in the real world use software to get their real work done. You're thinking of VB6 as an end-product rather than as a tool, which is where your analogy goes off the rails.

      --
      Irony: Agile development has too much intertia to be abandoned now.
    3. Re:Exactly! by segedunum · · Score: 3, Informative

      Yeah, .NET has only been around since 2002. If only you had started slowly converting individual components 10 years ago, you wouldn't have this problem now. Failing to plan is planning to fail.

      Not going to happen, and it never was. The rules that applied then apply now. Companies do not pay to rewrite all their applications in the latest new technology which does all the same stuff their old one did - and nothing more. In fact, .Net applications generally run slower. Great. It makes *zero* sense. Only a developer living in an idealistic fantasy world thinks that, which is exactly how Microsoft thought with .Net and VB.Net.

      I'm afraid you're simply someone with no knowledge or experience of what happens with legacy applications and why they simply don't get rewritten in the latest and coolest technology. There are fundamental reasons why we are still talking about classical VB and why we still talk about COBOL. Hell, we're still talking about bloody JavaScript after all these years. Your idealistic and simplistic notion of how organisations operate will not change that.

    4. Re:Exactly! by nine-times · · Score: 4, Insightful

      See, on the one hand, what you're describing is exactly why I think FOSS is so important. Rather than getting held hostage in the upgrade treadmill, you could just pay a programmer to maintain your current codebase. Your business is stuck running on Windows XP? If it were open source, some programmers could make a business out of providing required patched and updates. Great.

      On the other hand, as an IT person, I have violent hatred towards companies who run their business on a jenky old custom app that only runs on out-of-date systems. Yes, it's a big, expensive, complex, scary project to take your business-critical application that hasn't been touched since 1996 and make it run on modern infrastructure. That's why you never should have let it get to this point. If you have a business-critical custom-built application, you should have a plan for keeping it updated and running on modern infrastructure. You should not be waiting 20 years before you invest money into updating it. If it's too fragile to migrate to a new server running a new OS, then it's too fragile to be business-critical. If you can't run your business without that fragile and terrifying app, then you should not feel good about the way you're running your business.

  17. Re: Wherefore? by reanjr · · Score: 2

    But most people aren't trying to perform surgury. Many are just trying to beat something into a useful shape.

  18. Is there not enough happening in the world? by rebelwarlock · · Score: 3, Insightful

    Since when does "someone posted on a forum begging for something" count as news?

    1. Re:Is there not enough happening in the world? by thegarbz · · Score: 2

      Admit it, you had fun reading these comments and it lightened your Monday morning.

  19. Re: Of two minds by xvan · · Score: 2

    The IDE works on windows 7, 8 and 10 (after some patches are installed).
    Shameful disclaimer: I work for a company that refuses to burn C++ 6, VB6 and .Net 4.0 Frankenstein and rewrite it from scratch.

  20. Why Mainframes Live [Re:Exactly!] by Tablizer · · Score: 5, Interesting

    Not necessarily.

    Most Mainframe programs from the late 1960's work with little or no changes. You can complain about COBOL and JCL, but at least a mainframe shop doesn't have to rewrite programs from scratch every 15 years or so for every new programming or UI fad style that comes along.

    Maybe it cost more up-front to use the clunky mainframe languages, but if you factor in the cost of rewriting every 15 years to keep up with the Joneses, then the mainframe approach perhaps is cheaper over the long run. And more reliable.

    1. Re:Why Mainframes Live [Re:Exactly!] by neilo_1701D · · Score: 3, Informative

      Now if someone would just upgrade that ERP (painful as that might be) it would be possible to integrate stuff like the website and all those webservices the suppliers are exposing to re-order and what not quickly. They could probably automate more take on more clients or cut staffing costs considerable. Someone just needs to be willing to sign that 200k check and get some new technology in the door.

      I do ERP systems for a living: Microsoft Dynamics AX, and I work for one of the top Microsoft partners in AX space.

      $200K is pretty much your consulting fee for what you propose. $2 million is probably the implementation cost for a replacement ERP system. But that's only the beginning of it. Since ERP is so fundamental o an organization, replacing an ERP system with something totally different (and be it SAP, AX, or any of the other solutions out there) to what runs on an AS/400 is going to require a complete rethink of the organizational processes.

      You replace an ERP (or even just upgrade your existing one) when your business demands it, and for no other reason. It's simply too costly in terms of money, time, retraining, and the inevitable go-live issues that happen.

      Heck; I've been assigned a new client to sort out their database because the go-live went so bad: the initial data load was bad data, and there are bugs throughout the system because the client never tested but pushed for a go-live before they were ready. For the last 9 months they can't run an AP aging report!

      Replacing an ERP system is not like replacing Word Perfect with Word. It takes a serious commitment of time, money, and most importantly of all client buy-in: if the client's employees haven't bought in for the need for change, your ERP project is dead in the water.

    2. Re: Why Mainframes Live [Re:Exactly!] by Anonymous Coward · · Score: 3, Insightful

      Rewriting 17,500,000 lines of code "occasionally" isn't possible. It would take decades to reengineer most large legacy Cobol projects from scratch, it would take dozens of engineers, and it would probably get screwed up.

  21. Re:Nope, nope, nope. NOPE! by Sperbels · · Score: 2

    Why is "On Error Goto label" any worse than try/catch?

  22. Re: Corrections [Re:Why Mainframes Live] by ADRA · · Score: 4, Funny

    For someone so incredibly naive about the world of business, how do you expect to be competitive? Out-smug the competition?

    --
    Bye!
  23. VB by ledow · · Score: 4, Insightful

    VB6? Nah.
    VB5? Nah.

    VB4 / 3 - Actually, that would be quite fun. The days of a single simple toolbar, an MDI layout (wasn't MDI, but multi-window, but it was pretty usefully laid out), stupendously fast form creation and prototyping, simple language not cluttered with class-based junk, and a simple runtime.

    Those early versions of VB were great. Especially when I was younger. You could get results faster than any other language (let's not get into "BASIC programmers are shite", because when you're a kid you're not interested in perfect syntax anyway).

    It was literally a WYSIWYG environment inside the first major desktop GUI's that you could arrange a form in seconds, and then double-clicking any element and you could program quickly against it. It wasn't fast, it wasn't fabulous, it wasn't state-of-the-art, but boy did it teach you how to get things going quickly. And the event-driven auto-created subroutine stuff was the quickest, most useful way to get things interacting with the user. (I think that's it, actually - it was programmed with the focus on the user (the forms they see, the layout of controls, what happens when they touch them) rather than the programmer.)

    BASIC was designed for one thing - to be able to learn it fast. Working in schools, I guarantee you that it does just that. Python etc. can't come close, even with prep school kids. Maybe Python etc. are more modern, better represent modern programming, have syntax that tends towards "better" programming, etc. but BASIC you can pick up in an afternoon. I know, I've got kids to do just that. Python, you're lucky if they can get the compiler/interpreter working at home in that time.

    VB3 / 4 was my prototyping even as a kid. I was already doing Z80 and x86 assembler, C on the side and a myriad languages as I was exposed to them. But VB3 / 4 would let me knock up something to show someone the viability in a couple of hours, if not minutes. My friends were trying to write games for their A-Level projects, they couldn't work out how to lay them out. We did it in VB3 in minutes, including the game code which I quickly knocked up, and they saw the best way without wasting time re-writing all their code.

    People really knock VB3/4 but it was the first mass-market rapid prototyping tool, which is why a lot of business apps ended up in it. Literally, ODBC integration was "drop a database control on the form". I'm sure big, expensive tools that could do that pre-dated it, but most people never saw them. VB was sold in computer stores next to business apps made with it, though.

    I would love - just for "Look, this is how it would work" purposes - a VB3 / 4 that runs on modern windows, even if it didn't "compile" or anything like that. Just a quick language that you have a syntax you can use to open up the controls and make them interact. Also my first intro to in-execution debugging. The VB debugger looked like magic when it first came out, because we couldn't previously afford tools like that.

    And a manual that reminded me of those early computer manuals that told you EVERY SINGLE COMMAND in the language, full syntax, restrictions, examples, etc. It was great just reading through it and thinking "Woah, I can use that".

    People knock VB a lot. I'm sure it's not great for production use. But in terms of a language that entices you in and makes it easy enough for you to WANT to learn it, it's probably the last one I saw.

  24. Re:Nope, nope, nope. NOPE! by serviscope_minor · · Score: 2

    Why is "On Error Goto label" any worse than try/catch?

    For the same goto is generally considered worse than function calls: it's all about the structure imposed. With try/catch you can only catch up the call stack. With on error goto, you can wind up anywhere you choose. Also, the try/catch is local: you get an error in this try block it's handled in the attached catch block. With on error goto, the where is set by that command (essentially a global) and it doesn't nest either.

    --
    SJW n. One who posts facts.
  25. Re: Corrections [Re:Why Mainframes Live] by segedunum · · Score: 4, Insightful

    If you're still running COBOL code you're probably part of the 50% of the economy that will be replaced by robots in the next 20 years. Change or die.

    Dream on.

  26. How about using Gambas? by Qbertino · · Score: 2

    We already have a nice FOSS VB replacement: Gambas.

    If Basic is your thing, you should use that.

    --
    We suffer more in our imagination than in reality. - Seneca
  27. Re:JavaScript / python / enterprise env. by s4m7 · · Score: 2

    How do you say stuff like:

    In the grand scheme of things, javascript is still a very very young language, especially since ajax and ES5/6 and JIT compilation came along.

    with a straight face? Javascript has been an ISO standard since 1997! It's just a few years younger than python FFS.

    AJAX is a pattern used within in-browser javascript, having nothing to do with the language itself, and yes, 5/6 look much different than 1.... much like you can't run python 3 code in a python 1 interpreter.

    --
    This comment is fully compliant with RFC 527.
  28. Re: Corrections [Re:Why Mainframes Live] by LWATCDR · · Score: 4, Insightful

    Probably not.
    You will find COBOL in a lot of banks and other companies that computerized a long time ago. This is all back end code that runs things like accounting. The code works and has for decades. It was well written and updated over time very carefully.
    As for UIs you will often see web based UIs to this back end code. So you have a stable well tested foundation and an easy to update light UI. The hardware on a mainframe is super stable and highly reliable.
    If you want to migrate from a mainframe simply recompile.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  29. Re: Corrections [Re:Why Mainframes Live] by RabidReindeer · · Score: 4, Insightful

    If you're still running COBOL code you're probably part of the 50% of the economy that will be replaced by robots in the next 20 years. Change or die.

    Don't be a fool.

    I'm one of those people who sneer at the "if it ain't broke, don't fix it" mentality that causes PHBs, CEOs and other clueless/wishful people to treat their IT assets as fixed one-time-costs, but there are some computer applications that simply don't need to be based on the fad-of-the-moment technology.

    Accounting systems have been pretty much the same since at least the time of Scrooge and Marley, if not all the way back to ancient Sumeria. Payroll, pretty much the same. The old "Data Processing" stuff doesn't need a total re-architecting and companies have better things to spend their money on. Such as overpriced consultants peddling overpriced technological "solutions".

    These days "DP" systems have a lot of interaction with "IT", as we do things like run Big Data analysis on the Accounts Receivable. But the virtue of the old mainframe systems is that it's a lot easier to ETL data off the AR masterfiles and into your MongoDB database than to keep redesigning the accounting system every time some new externality is needed.

  30. So... why not... by bmo · · Score: 2

    ... use Gambas as a replacement? If there's sufficient demand for a replacement for Classic VB, then there should be enough people interested in contributing to Gambas.

    Seriously.

    --
    BMO

  31. Like C / C++ inertia. by aberglas · · Score: 2

    There is indeed a lot of inertia.

    C / C++ are far worse languages than VB6. No garbage collection, not even a real concept of an array. Every other line a potential buffer overflow. And older than VB6.

    But people continue to use this archaic technology today, despite it being so unproductive. That is because of legacy and inertia. And most C / C++ programmers do not even realize how bad it is.

    VB6 is not that bad for what it is used for. Efficiency is not so important. It has features like keyword parameters that are Still not in C++. And ti is certainly much, much more productive than C/ C++. .Net is better and has modern compilers that produce code that is often better than C / C++. But it is also a huge monster. And not actually much more productive for simple business apps.

    The big one is Excel. Microsoft would love to kill of VBA that is in it. But as a professional developer, I can an VBA ap going much quicker than a .Net one. And end users have no hope of dealing with .Net deployment issues.