Live data from Hacker News

Microsoft plots the end of Visual Basic

thurrott.com

91–100 of 292 posts

Re: Microsoft plots the end of Visual Basic

#91
post #6

I loved VB6. Of all the languages and IDE's I've ever used, I've never been more efficient in any other one. As long as MS doesn't break my workarounds to run that old IDE or its EXE's, I'm happy. VB.NET was a great stepping stone, but after switching to C# I never looked back. The only thing I miss is global functions that don't need a class qualifier in front of them. And I still find the Edit-and-Continue debuggin…

I used to think this too, but everything you can do in VB6 you can do in powershell, and do it better. Try/Catch, windows forms.. literally anything you can think of. You can even mix powershell and C# together in the same script. Once I realized I had a better version of everything I wanted, it became my new favorite.

Quickly and easily design and make a GUI program with n real training?

VB6 got me into programming as a kid.

I mostly use python for stats stuff. I sorta understand how to run up a GUI using tkinter, but it seems like a huge pain in the ass.

I'm sure Visual Studio offers the ability to do whatever VB6 could with a GUI, but it isn't obvious how to get there.

VB6 was one nice thing - build 'a program' as you understand them in Windows. Why the fuck is it so hard nowadays? VS isn't intuitive - it's a firehouse of information and I feel like you need training to use it. That is a bummer.

I just want to Lego-assemble a cute GUI-based program that I can make into a binary and email my wife to use. But I need to dedicate 70GB and two weeks of study to get there, I guess.

Re: Microsoft plots the end of Visual Basic

#92
In 2001, I was 11 and started my programming career with Visual Basic 6. John Smiley book!

I was obsessed with theme parks and roller coasters at that age, so I made a 'theme park' application that let you look at maps, rides, and buy tickets.

Just having the basic logic of OOP down at 11 was a game changer, I started to look at the world in a new way. I felt like I could solve any problem if I could map it out on paper first.

Re: Microsoft plots the end of Visual Basic

#93
post #6

I loved VB6. Of all the languages and IDE's I've ever used, I've never been more efficient in any other one. As long as MS doesn't break my workarounds to run that old IDE or its EXE's, I'm happy. VB.NET was a great stepping stone, but after switching to C# I never looked back. The only thing I miss is global functions that don't need a class qualifier in front of them. And I still find the Edit-and-Continue debuggin…

> I loved VB6. Of all the languages and IDE's I've ever used, I've never been more efficient in any other one. Other than the amount of work it would take, what's to keep someone from taking all of the specs and docs, and implementing a language compatible with VB6 and VB.NET?

VB6 and VB.NET are barely related.

But, ignoring that, almost any app of any complexity in VB6 land will rely on bugs, quirks, and implementation details. (Also, I was never clear if the binary format for editing forms was actually documented somewhere). Someone could implement their own VB6 parser, but it seems like a ton of work for a vanishing market.

All of that said, while typing this, a quick search revealed https://www.radbasic.dev/ , so maybe someone's trying. Well, it's a Kickstarter, so maybe someone just has an idea. Dunno.

Re: Microsoft plots the end of Visual Basic

#94
post #82

Earlier quoted context omitted.

The decision to make the console output as the return value of a function alone almost destroys it for larger scripting projects. It’s a really bad decision and they could still fix it by adding some environment variable that disables this “feature” while staying compatible with old scripts.

PREACH But just so you are aware you can use the 'class' modifier To change this behavior. It is one of the most fundamentally bizarre language design choices I have seen in my career

I have used classes too but this has all kinds of other weird behavior.

Re: Microsoft plots the end of Visual Basic

#95
post #6

I loved VB6. Of all the languages and IDE's I've ever used, I've never been more efficient in any other one. As long as MS doesn't break my workarounds to run that old IDE or its EXE's, I'm happy. VB.NET was a great stepping stone, but after switching to C# I never looked back. The only thing I miss is global functions that don't need a class qualifier in front of them. And I still find the Edit-and-Continue debuggin…

Are you aware of "using static" in C#? Allows you to use any methods on a static class without qualification. Gives you the appearance of global functions, despite the class scoping.

Re: Microsoft plots the end of Visual Basic

#96
post #85

Earlier quoted context omitted.

"I would love to learn why people think that power shell is ugly, especially comparing with bash. " I don't think people compare it with bash, but with more modern languages.

One criticism I've seen and levied myself is the sheer amount of typing: [PS] C:\> Get-MyReallyLongFunctionName -Server furtle $ lol --floop PS is fine but it takes ages for the bloody thing to wake up and notice command completion. It is like dealing with a teenager in bed. Actually, I have no problems with PS but with MS's idea of search as deployed to users. (I run KDE on Arch. Search is faster than I can blink)

Verb-first was also a bad choice. When I type “get” I am getting thousands of suggestions which makes autocompletion pretty useless. There is also no way to find all cmdlets that deal with active directory. It would be much better if I could type “AD” first and then get all cmdlets that deal with active directory.

Re: Microsoft plots the end of Visual Basic

#97
I think VB6 served a useful purpose. I used it for internal utilities all the time when I worked for Microsoft.

I haven't used any of these tools in probably 20 years but in addition to VB6, I also liked Delphi and C++ Builder quite a lot back in the day. Delphi was probably my favorite of the bunch. Embarcadero still sells both Delphi and C++ Builder but their pricing is far too expensive, I think.

Anyway, thank you, VB, and thanks for all the fish.

Re: Microsoft plots the end of Visual Basic

#98
post #57

I first learned how to program in VB4. I can see why as a professional programmer it lost favor, but it was a great learning language.

> great learning language E.W.Dijkstra would disagree: "It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration."

IMO it depends what you mean by “good programming”. An Excel spreadsheet with a bunch of VBA macros is by absolutely no means graceful programming or beautiful programming but it’s highly effective and has served as an entry to the world of programming for a huge number of people, myself included. It’s productive programming with little of the bikeshedding you’ll find in much less “mentally mutilated” setups.

Re: Microsoft plots the end of Visual Basic

#99

The end of Visual Basic.NET, that is. "Classic" Visual Basic has been ended for a long time now. (And VB.NET is much less of a loss -- it was never as popular as classic VB. Even when it first came out, it was clear that if you were a VB developer, Microsoft really wanted you to move to C#; VB.NET always felt like an afterthought, a fig leaf they could use to say they really weren't abandoning VB when they obviously…

> "Classic" Visual Basic has been ended for a long time now. It kinda still lives on in classic ASP. It will be supported indefinitely so far [1] [1] https://support.microsoft.com/en-us/help/2669020/active-serv...

IIS ASP and the Shell CScript/WScript hosts are just environments for the COM-based Active Scripting engine.

At the time it was very capable as lots of software titles opened themselves up to automation via COM - that's why you could have Classic ASP pages that invoked Office Excel to generate charts dynamically.

Unfortunately it was all a mess, but it was also something beautiful because it meant that a desktop/server OS was more than just a place where heterogenous applications could live: they could truly interact with each other regardless of their programming language or runtime platform.

That grand vision - itself an extension of OLE from the early 1990s - died down with the rise of .NET (this wasn't intentional - Microsoft just had a lot of reorgs around that time and COM was more-or-less feature-complete, and no-one was really using DCOM) - but with Windows 8 and the "WinRT" API I was hopeful that COM would be back and new ways of automating applications would come around, and that Microsoft would have a great system for non-programmer users wanting to build workflows like they can with Apple's macOS Automator and AppleScript.

This also ties-in with the do-as-little-work-as-necessary being done for VBA support in Microsoft's products. While we all wish Microsoft would allow modern JavaScript as a first-class COM automation language - the Office VBA runtime only supports its own VB6-dialect (the VBA language), and while Active Scripting supports JScript (a snapshot of JavaScript version 3 from 1999-2001) it doesn't support static typing nor is any of the tooling inside Office compatible at all. - so instead we have JavaScript, but only for "Office Apps" which don't offer anywhere near the same kind of integration or control over Office applications (or things like filesystem access) that VBA does. It's like it's 2008 again and everyone's excited about the new iPhone OS App Store and thinking about all the cool iPhone OS system extensions they'd add, like a Today screen or a camera app that can record video by using low-level camera hardware APIs - only to be discover Apple will only let-in apps using nerfed and siloed high-level APIs that take away all of the fun from extending an OS.

Re: Microsoft plots the end of Visual Basic

#100
post #85

Earlier quoted context omitted.

"I would love to learn why people think that power shell is ugly, especially comparing with bash. " I don't think people compare it with bash, but with more modern languages.

One criticism I've seen and levied myself is the sheer amount of typing: [PS] C:\> Get-MyReallyLongFunctionName -Server furtle $ lol --floop PS is fine but it takes ages for the bloody thing to wake up and notice command completion. It is like dealing with a teenager in bed. Actually, I have no problems with PS but with MS's idea of search as deployed to users. (I run KDE on Arch. Search is faster than I can blink)

[deleted]
Post reply on HN