For anyone looking for a modern alternative to Visual Basic, you might want to take a look at Xojo. Xojo's a rapid application development platform (both a language and an IDE) that you can use to develop desktop apps (for macOS, Windows, Linux), Web apps, mobile apps (for iOS and Android), as well as console apps. It's been around for more than 20 years, and some of you might remember it from back when it was called…
Ask HN: Why did Visual Basic die?
321–330 of 535 posts
Re: Ask HN: Why did Visual Basic die?
#322A strip club was asking for a camera system and pos system in 2006. I already had a nice PCI based capture solution for the CCTV system but the POS software was still an unknown.
When I learned that the average cost per terminal was going to run me $700/ea., I decided to write my own POS in VB6 (Along with Receipt printer stuff, USB Card Swipe Stuff, Authorize.net Etc). This was completed in about 1 month while still living in my moms basement.
We had a lot of fun sitting in the security room popping the cash drawers as a prank and having the girls complain over the radio about them being possessed. Long live VB6!
Re: Ask HN: Why did Visual Basic die?
#323Earlier quoted context omitted.
> As someone who was writing Visual Basic.NET back when it came out, there was no upside to it over writing in C# Sure there was: C# didn't exist yet. It didn't exist for many years to come. It simply wasn't an option. C/C++ was, however.
You may be confusing Visual Basic .NET with Visual Basic 6 and its predecessors. C# actually predates VB.NET by about a year. VB.NET may be syntactically similar to VB6, but under the hood they were so different that migrating projects to VB.NET essentially meant a complete rewrite.
The biggest breaking change was the removal of the global Printer Object so any printing code needed a complete rewrite.
Re: Ask HN: Why did Visual Basic die?
#324I think the answer is: because Microsoft let it. I'm a big fan of modern .NET, but my biggest complaint is that Microsoft views, and always has, the CLR as the C# Language Runtime and not the Common Language Runtime. For example, see the relationship between F# and C#. The CLR is constantly getting features that are only to support features in C#, leaving F# in a position where they either don't get the feature, can'…
>The other thing is that C# consistently adds features to itself that are inspired by F#, since F# already implements these features on the CLR, thus showing their viability. So what happens is that C# continually approaches a more bloated language with a subset of it being a poor copy of F# C# and F# sometimes remind me another pair of languages: Java and Scala.
Re: Ask HN: Why did Visual Basic die?
#325I think the answer is: because Microsoft let it. I'm a big fan of modern .NET, but my biggest complaint is that Microsoft views, and always has, the CLR as the C# Language Runtime and not the Common Language Runtime. For example, see the relationship between F# and C#. The CLR is constantly getting features that are only to support features in C#, leaving F# in a position where they either don't get the feature, can'…
The F# situation is not comparable to VB.NET. VB.NET was just C# semantics with a VB like syntax. From the beginning it didn't serve any purpose except to make VB Fans feel slightly more at home.
Re: Ask HN: Why did Visual Basic die?
#326For anyone looking for a modern alternative to Visual Basic, you might want to take a look at Xojo. Xojo's a rapid application development platform (both a language and an IDE) that you can use to develop desktop apps (for macOS, Windows, Linux), Web apps, mobile apps (for iOS and Android), as well as console apps. It's been around for more than 20 years, and some of you might remember it from back when it was called…
Talking of alternatives, I'm also aware of Gambas, though I've never tried it: http://gambas.sourceforge.net/
Re: Ask HN: Why did Visual Basic die?
#327Re: Ask HN: Why did Visual Basic die?
#328The 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 ca…
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
Re: Ask HN: Why did Visual Basic die?
#329Earlier quoted context omitted.
Healthcare and insurance too! I transform into some glorious magical elf when I volunteer to do the VBA tasks nobody else understands or can lower themselves to do. You can make Excel do some real wacky stuff. I have a spreadsheet that actually calls out to exec() to run a curl POST on commandline and consume REST API endpoints, parse the results, and update the spreadsheet -- why on earth?? because the API was ready…
Pretty sure you can access a REST API from VBA without resorting to exec()