News for hackers. Stuff that matters.
Re:I still use Flash in 2022 by kitd on Wednesday December 21, 2022 @11:18AM (#34082631)
I'd add Visual Basic to your "glue bits together" list. After working on C++ & FORTRAN professionally, Visual Basic was like a breath of fresh air. I remember thinking "how could programming be this simple". It felt like cheating.

Ofc, there's an evil undercurrent to the "any non-technical person can use it". We ended up having to support a tool that some "business analyst" had written. My eyes bled.

Re:I still use Flash in 2022 by clarge1120 on Wednesday December 21, 2022 @11:44AM (#34082997)
The redpill in me says MSFT created dotnet to kill VB6. That tool made it too easy (and cheap) to create value through automation.
Re:I still use Flash in 2022 by kome on Wednesday December 21, 2022 @12:02PM (#34083246)
it's a generalized trend. Python is the new BASIC, but Python is SO much more complicated than BASIC. Web development was easy, now it's impossibly complicated, etc etc...

Rebol, Red, tcl/tk are good and easy programming languages, but kinda niche and obscure. I have no idea why computing is getting more complicated instead of easier.

Re:I still use Flash in 2022 by marcosdumay on Wednesday December 21, 2022 @01:20PM (#34084331)
I only disagree on web development. It was never easy. The web always always a mess, and nothing really worked. Today it's a mess, but you can make it work if you know what you are doing.

But yes, looks like the web was a trendsetter that pushed things into becoming harder without any good reason. Or maybe the web was just following the trend of the toolmakers all going out business at the early 00's (thanks a lot to Microsoft).

Re:I still use Flash in 2022 by Consultant32452 on Wednesday December 21, 2022 @01:27PM (#34084427)
I miss the days when JQuery was the only JS library a person needed to know to do professional web dev. I stuck with web dev through the peak of Struts, but the constant changing of frameworks with (imo) minimal benefit to user experience pushed me to things besides web dev.
Re:I still use Flash in 2022 by falcolas on Wednesday December 21, 2022 @01:45PM (#34084645)
Ironically - given the article we're commenting on - a lot of the early problems with the web were solved, and I hesitate to say it, solved well by Flash. Its insecurity is what really pushed us away from it (well, and that it was a closed sourced Adobe project)
Re:I still use Flash in 2022 by numair on Wednesday December 21, 2022 @11:54AM (#34083136)
A lot of large companies did a tremendous amount of back office using VB6 applications. I remember visiting Disney and seeing it all over the place in the late 90s.
Re:I still use Flash in 2022 by bottlepalm on Wednesday December 21, 2022 @01:19PM (#34084317)
To be fair, WinForms is the spiritual successor to VB6, a lot more powerful, and just as productive.
Re:I still use Flash in 2022 by int_19h on Wednesday December 21, 2022 @07:39PM (#34088277)
There was nothing particularly easier about VB6 compared to the later VB.NET. VB (5/6) was, effectively, a scripting language designed around the COM object model. .NET originally started its life as "COM 2.0", with VB support consistently a part of the plan, and gradual feature creep turning it into what it became eventually.
Re:I still use Flash in 2022 by vkazanov on Wednesday December 21, 2022 @12:03PM (#34083261)
I remember how the last VisualBasic programmer left the first company I worked for.

On one hand, he was ignorant in regards to everything we thought was mandatory for development: version control, code style, code structure. We, young Cpp/Python programmers, despised him.

But nothing we had (QT, 2007-2008 web tech, etc) made it possible to spit out a business UI in an hour.

To be honest, I still don't see anything comparable.

Re:I still use Flash in 2022 by TuringTest on Wednesday December 21, 2022 @01:40PM (#34084579)
> To be honest, I still don't see anything comparable.

I think it's just around the corner for those types of applications to come back. And surprisingly, they will come hand in hand with note-taking outliners, not your run-of-the-mill no-code or low-code tools.

See for example Obsidian canvas, released this week. I see it as functionally similar to Visual Basic GUI editor, except simpler and easier to edit; and its layout is stored as JSON in a .canvas file. The open-source Logseq is adding similar visual layout templates together with data-recovery primitives.

They just need to add the core interactive data widgets (text field, text area, buttons) and expose the cards to a programming language in a end-user accesible way, and you'll have the power of a visual language, except web-integrated and with a really simple way to add data (the outliner editor).

[1] https://obsidian.md/canvas

Re:I still use Flash in 2022 by int_19h on Wednesday December 21, 2022 @07:35PM (#34088261)
.NET with WinForms could do that just fine in that timeframe (and today - it's still supported), and many VB programmers ended up there. Delphi was another popular contender that's still around.
Re:I still use Flash in 2022 by vkazanov on Thursday December 22, 2022 @03:29AM (#34091103)
One more thing that changed is a platform situation. Everyone is looking into building crossplatform tools, and MS tools do not really cover this front.

Thus the abundance of those browser-wrappers such as Electron. The html/js stack is far from trivial but it really is truly portable.

So the new visualbasic has to be different, and I don't think newer ms tools cover this niche.

Re:I still use Flash in 2022 by dheera on Wednesday December 21, 2022 @01:41PM (#34084594)
I feel like Python is starting to get a lot of the same bad rep because non-techies can learn it. It's actually a great language if you want to build stuff really fast. Not everything needs to crunch a billion operations per second and even if you want that, there are several good libraries for that.
Re:I still use Flash in 2022 by albertzeyer on Wednesday December 21, 2022 @03:33PM (#34086025)
Yep. Python has potential to support some environment like Visual Basic. But there is no such project, as far as I know. All GUI frameworks are more complex, and there is no nice drag & drop GUI editor build into an easy Python IDE. At least I don't know it. Maybe if you use PyCharm, select some framework, find the right PyCharm plugins for it, you would have sth similar, but still much more difficult to use, and also there is no prebuilt and ready to be used package for such thing.
Re:I still use Flash in 2022 by jimnotgym on Wednesday December 21, 2022 @05:09PM (#34087039)
I have lost count of the number of 'I miss VB6/Flash/Delphi, they were so much more productive' threads on hn!

Yet in this community of all the people who could make it happen, we can't make it happen! What are we missing? Time? Money? Co-ordination?

Re:I still use Flash in 2022 by albertzeyer on Wednesday December 21, 2022 @05:16PM (#34087127)
For Delphi, there is Lazarus, which is absolutely great. However, it's somehow really niche? Maybe because Object Pascal is somewhat outdated now?
Re:I still use Flash in 2022 by jimnotgym on Wednesday December 21, 2022 @05:51PM (#34087435)
I don't really know Delphi/Lazurus well enough... but I suppose it is similar to the following... for VB there is Winforms and .NET, which as someone above pointed out is 'much more powerful', but somehow not what people want!
Re:I still use Flash in 2022 by int_19h on Wednesday December 21, 2022 @07:41PM (#34088287)
The problem is that the approach itself is kinda flawed. The moment you have to support high-DPI or translate the app to a different language (with text labels of different size), that whole trick of just WYSIWYG dragging and dropping widgets in a visual designer breaks down.
Re:I still use Flash in 2022 by fomine3 on Wednesday December 21, 2022 @10:55PM (#34089601)
HiDPI isn't a problem but variable (dynamic) size is.
Re:I still use Flash in 2022 by int_19h on Thursday December 22, 2022 @02:46AM (#34090889)
The problem is that on some platforms, text doesn't quite scale linearly as you increase the point size. Techniques like subpixel antialiasing with pixel-snapping produce shapes that are more readable on low-res screens, but it also causes distortion to letter shapes, and with multiple letters, depending on the exact text and its location, it can add up to amounts significant enough to cause overflow.
Re:I still use Flash in 2022 by fomine3 on Thursday December 22, 2022 @05:42AM (#34092014)
It's a problem on older GUI platform with HiDPI support, but new WYSIWYG GUI platform should be able to implement it correctly.
Re:I still use Flash in 2022 by int_19h on Thursday December 22, 2022 @03:50PM (#34098485)
It's a problem on any platform that wants more readable text on low resolution. The only platform I know of that chose precise text layout over contrast regardless of the resolution is macOS. On Windows, ClearType still behaves as I described above. On Linux, it depends FreeType settings, which you don't know in advance, so you have to assume that it will happen.
Re:I still use Flash in 2022 by dheera on Thursday December 22, 2022 @03:34AM (#34091125)
> translate the app

The way translation is implemented today is horrifying.

Likewise for high-DPI. Why are they still using some linear scaling of icons instead of a super-resolution GAN and some caching?

Why can't an OS translate a single-language app on the fly using state-of-the-art translation neural nets and using visual attention to capture context? It's almost 2023 ffs, and people are still using some gettext nonsense?

Re:I still use Flash in 2022 by jimnotgym on Thursday December 22, 2022 @07:42AM (#34092724)
It isn't just the WYSIWYG element though, developing the UI elements in code is not that hard.

But imagine in Tkinter and Python, probably the least steps to get a basic UI, there is so much to manage.

In vb you double clicked a button in the designer and got a place to type code. All the stuff about event loops, and not blocking the thread was dealt with for you. In Python if you try the same thing the app freezes continuously. Then you want to do simple everyday things like a date picker, or progress bar, and find you need to implement it yourself????

Then having built your app in Tkinter and Python, you want to share it with some colleagues...so where is the 'compile button'?

It is easier to implement a machine learning model in Python than it is to make it into a standalone app with a file importer and a 'go' button!

Re:I still use Flash in 2022 by zubairq on Saturday December 31, 2022 @01:05AM (#34194076)
I'm in the process of making something like VB6 (yazz.com), but which is using Javascript instead of Basic for scripting. I would say that if you look at retool, bubble and many other low code tools then you will see that they are doing the same
Re:I still use Flash in 2022 by rr808 on Wednesday December 21, 2022 @03:05PM (#34085698)
Yep I was going to say the same thing. I write small internal tools for corporates and my team in 2020 is a fraction of the productivity of my team in the 90s. Lots of tools, the complexity is nuts these days.
Re:I still use Flash in 2022 by bernardv on Wednesday December 21, 2022 @09:08PM (#34088860)
Totally agree. And as a result, it has become very hard to find young developers who understand GUI usability and standards.
Re:I still use Flash in 2022 by rapind on Wednesday December 21, 2022 @03:31PM (#34086015)
What I loved about VB was how the basic UI was handled seamlessly and yet you could really dig in on optimizing user flow on top of it. It wasn’t pretty, but it was functional, and you could spend your time making sure it felt good.

I can still get there with modern tools, but the defaults / conventions in VB are simply superior to anything I’ve worked with since.

Re:I still use Flash in 2022 by chriskanan on Thursday December 22, 2022 @09:44AM (#34093730)
I spent a huge amount of time coding in VB5 and VB6 in the 1990s and early 2000s during high school and my first years of college for hobby projects. Definitely felt like the most fun language and I was far more productive than in C/C++/Java/Pascal. With some work areas that needed to be optimized could be to be pretty fast when compiled. Everything was integrated and a good debugger.

I didn't get the hate. Maybe software engineering folks don't want coding to be fun and productive.