News for hackers. Stuff that matters.
Re:The IDEs we had 30 years ago ... and we lost by sheepscreek on Saturday October 18, 2025 @03:32PM (#45629813)
> Visual Basic was the pinnacle of graphics programming

I am still shocked how no tool since has managed to come even close to VB. You could easily develop a moderately complex GUI application that felt snappy in an afternoon. C# with WinForms is the second closest to that. All other iterations since have not been designed with individual developers in mind, sadly.

A powerful developing alternative to this paradigm could be what I’m calling speech/voice driven development (SDD or VDD). It takes some pain of typing so much away - makes interactions with AI feel a bit more natural. Like talking to a colleague. But for it to really work well, AI models will need to become even faster.

Re:The IDEs we had 30 years ago ... and we lost by ranger_danger on Saturday October 18, 2025 @07:52PM (#45631196)
I find Qt Creator to be quite comparable to the experience I remember with e.g. VB6. Have you tried it?
Re:The IDEs we had 30 years ago ... and we lost by EasyMark on Saturday October 18, 2025 @10:58PM (#45631796)
Yeah if you know c++ decently, you can whip up a basic app pretty quickly.
Re:The IDEs we had 30 years ago ... and we lost by ChromaticPanic on Sunday October 19, 2025 @12:58PM (#45635740)
Works with python too, you can build a desktop UI for your app in an hour
Re:The IDEs we had 30 years ago ... and we lost by int_19h on Saturday October 18, 2025 @08:18PM (#45631279)
Delphi was superior to VB even back in the day, and is still around, as is Lazarus. C# WinForms is actually closest to that, not to VB - and is also still around.
Re:The IDEs we had 30 years ago ... and we lost by throw-the-towel on Sunday October 19, 2025 @01:01PM (#45635762)
It's not surprising, Delphi and C# design were both led by the same person, Anders Hejlsberg. (He then went on to design Typescript.)
Re:The IDEs we had 30 years ago ... and we lost by tiku on Sunday October 19, 2025 @03:27AM (#45632568)
It was also very easy to build the visual aspect, tying it together was step 3 for me. It felt more like a mix of designing and powerpoint than programming in the beginning of a project. Very fast visual results to keep your momentum.
Re:The IDEs we had 30 years ago ... and we lost by thw_9a83c on Sunday October 19, 2025 @09:26AM (#45633966)
The simplicity and efficiency of Visual Basic UI programming relied on several assumptions that became obsolete in 2000 when LCD and high-DPI displays became widely available. Everything in the VB UI editor was based on a fixed layout. There was a fixed font size, fixed DPI-density display expectation, and fixed button sizes. Every dialog assumed fixed sizes and was non-resizable. Adding a translation to such an application was pure hell. Typically, you needed to add a lot of buffer space for English strings to ensure that German strings, for example, would not break the layout too much. UI frameworks that solve these problems with a proper layout management system are obviously more complicated, but they address issues that VB6 never touched.
Re:The IDEs we had 30 years ago ... and we lost by FredPret on Sunday October 19, 2025 @09:42AM (#45634057)
This really shows the value of saying “no” to use-cases you consider peripheral.

If your customers live in one country, and you don’t care about cloud scalability, things can be much simpler.

Of course, some applications really do need all the complexity.

Re:The IDEs we had 30 years ago ... and we lost by zozbot234 on Sunday October 19, 2025 @10:42AM (#45634508)
> The simplicity and efficiency of Visual Basic UI programming relied on several assumptions that became obsolete in 2000 when LCD and high-DPI displays became widely available. Everything in the VB UI editor was based on a fixed layout. There was a fixed font size, fixed DPI-density display expectation, and fixed button sizes. Every dialog assumed fixed sizes and was non-resizable.

There are visual UI editors that provide for dynamic layouts. (The old Glade editor for GTK+ was one example; modern GTK+4 still does not come with a standard UI editor.) The underlying issue is pointless churn in modern UI frameworks, not the assumption of a fixed-DPI display.

Re:The IDEs we had 30 years ago ... and we lost by bartread on Monday October 20, 2025 @12:41PM (#45645930)
Even Java's Swing, introduced in 1999 (or maybe 98 in beta?), dealt with the problem of dynamic layouts fairly well. Of course, it performed like an absolute dog to begin with, but most of the performance kinks were dealt with during the Java 1.3 era (2000), and by 1.4 in 2002/3 or so, performance was absolutely fine, with most of the rendering quirks of the native look and feels having been dealt with as well.

Moving to C#/WinForms in late 2004 after working with Swing for 4 years felt absolutely jarring by comparison. No concept of layout managers and very limited options for dynamic layout in general (docking was about it, IIRC), really hard to customise components (if it was possible at all - for many it wasn't because they were just thin wrappers around Win32). It was terrible by comparison and I seriously considered quitting the job I was in, even though I liked the company, and finding a role in a Java shop again instead because I hated WinForms so very much.

Swing is obviously ancient history now. Is it still a thing? Do people still use it? Are there still Java desktop apps? I've no idea. But even 20-odd years later Microsoft have never managed to surpass it for desktop app development. WPF is OKish, and certainly addresses a lot of the problems of WinForms, but it's always felt over-complicated and the syntax of XAML has never really been a plus point in my opinion. Silverlight was... a debacle.

And, really, since 2013 I've only paid attention to distributed systems, web, and back end development (all of which have their own problems and complexities) so I've really lost touch with Microsoft's desktop development paradigm.

But I do find myself often yearning for the "simplicity" of desktop app development. Of course, that simplicity comes at a cost: you're trading it for complexity in licensing, distribution, deployment, and support because you have no control over your target environment, and you have to support almost unlimited combinations of machine configuration (which is not necessarily a picnic when you have thousands, tens of thousands, or hundreds of thousands of customers for each product). And, let's be real: nobody misses InstallShield and MSIs.

Re:The IDEs we had 30 years ago ... and we lost by wduquette on Monday October 20, 2025 @02:26PM (#45647333)
I've been doing development using JavaFX, Swing's successor, for many years. It's got its quirks, and places where the dev team stopped iterating on the API a little too soon; but it works and does some really nice stuff.
Re:The IDEs we had 30 years ago ... and we lost by pjmlp on Wednesday October 22, 2025 @09:25AM (#45668800)
Swing is still a thing, at least for all of those using JetBrains products, and still comes wiht the JDK, whereas JavaFX was placed into open source, and I think it only carries forward thanks to Gluon's work.

In what concerns layout managers in .NET, you could do it in Windows Forms via TableLayoutPanel and FlowLayoutPanel.

WPF has always used layout managers from the get go, which is why its drag and drop workflow feels strange to Windows Form devs.

Re:The IDEs we had 30 years ago ... and we lost by bartread on Wednesday October 22, 2025 @01:43PM (#45672582)
Yeah, but those layout managers came later. I don’t think they were there in the early 2000s.

I’ll say this for Microsoft: they supported WinForms, even adding new features, long after it had ceased to be the new hotness. Whether they still do, I don’t know. The last time I touched WinForms was 2013.

Re:The IDEs we had 30 years ago ... and we lost by pjmlp on Wednesday October 22, 2025 @04:00PM (#45674382)
.NET 2.0 onwards.
Re:The IDEs we had 30 years ago ... and we lost by bartread on Friday October 24, 2025 @01:25PM (#45696902)
Yeah, that was around 2005, wasn't it.

Where I was working, for maximum compatibility with customers, I was still working on .NET 1.1 until I want to say 2006/7, when we moved to .NET 2.0. EDIT: it was actually 2006 because the project I was leading integrated with SQL Server Managment Studio, which forced us to use .NET 2.0. We were one of the first two projects to make the jump.

I don't think we moved to anything WPF capable until .NET 4 came out in 2010 or so, except for perhaps one project that had moved to .NET 3.5 so they could take advantage of an early version of ASP.NET MVC.

Believe it or not, when I showed up in 2004, we were still running on .NET 1.0 and Visual Studio 2002, which did not support extensions, so no Resharper... which was a nightmare given I'd just been using IntelliJ IDEA. Moving to VS2002 was an absolutely horrible regression.

So I want to say I'd managed to argue the case for .NET 1.1 and VS2003 by the end of 2004, or maybe very early 2005... which meant us devs could at least install ReSharper and have a much better time as a result.

Re:The IDEs we had 30 years ago ... and we lost by frou_dh on Wednesday October 22, 2025 @10:24AM (#45669609)
> But I do find myself often yearning for the "simplicity" of desktop app development.

Yep, isn't it great to use an API that is actually all about UI widgets, rather than having to indirect through a document markup language.

Re:The IDEs we had 30 years ago ... and we lost by tga on Sunday October 19, 2025 @11:25AM (#45634880)
Even today many apps still fit perfectly within those constraints. I'd gladly accept a fixed layout and no internationalization if that would mean sitting down and writing a rich app with one single dependency (!), zero boilerplate setup, and easy deployment.
Re:The IDEs we had 30 years ago ... and we lost by mexicocitinluez on Sunday October 19, 2025 @09:38AM (#45634041)
> The simplicity and efficiency of Visual Basic UI programming relied on several assumptions that became obsolete in 2000

This is a great point that extends beyond rebutting the rose-colored glasses for the gool ole days of programming. While yes, things were simpler. That simplicity came at a cost. For instance, how accessible were VB apps to people who had sight-related disabilities?

Re:The IDEs we had 30 years ago ... and we lost by thw_9a83c on Sunday October 19, 2025 @11:25AM (#45634879)
> how accessible were VB apps to people who had sight-related disabilities?

Coincidentally, they were very accessible because they used corresponding Win32 components for all logical UI entities, despite being fixed in layout. Therefore, they worked really well with screen readers.

Sadly, this is not the case with UI frameworks, which render the screen as a Vulcan/DirectX/OpenGL canvas. By the way, for today's Electron-based apps, you can use WAI-ARIA (or similar) standards to achieve a similar level of accessibility.

Re:The IDEs we had 30 years ago ... and we lost by Grumbledour on Monday October 20, 2025 @04:35AM (#45641327)
And to add to that, because some people might not know or have forgotten, colors where easily adjustable in winforms, so dark mode, high contrast mode, green, blue, hot pink etc. were all easily adjustable for all these apps and back in th day that was pretty standard to do for visually impaired people. No extra work from programmers was necessary, so vastly superior to today where you have to beg for good dark mode support.
Re:The IDEs we had 30 years ago ... and we lost by account42 on Monday October 20, 2025 @06:28AM (#45642288)
"Dark mode" today is the biggest scam - selling us a neutered form of color schemes that used to be a standard feature of any UI toolkit as something new and exciting.
Re:The IDEs we had 30 years ago ... and we lost by DiskoHexyl on Sunday October 19, 2025 @10:57AM (#45634632)
More accessible than modern electron-based apps
Re:The IDEs we had 30 years ago ... and we lost by electroly on Sunday October 19, 2025 @04:27PM (#45637649)
> fixed DPI-density display

This part is maybe technically true but not in spirit. High-DPI didn't exist in Windows as a literal scaling percentage, but it had "Large Fonts" as an option which acted as a system-wide scale. VB GUIs were scalable based on twips (device-independent unit). The entire form and all controls would scale according to the Large Fonts setting.

Many of my VB6 forms were resizable. There was a simple library that let you have anchors in the Tag property so you didn't have to write any sizing logic yourself.

Re:The IDEs we had 30 years ago ... and we lost by account42 on Monday October 20, 2025 @06:25AM (#45642275)
Qt Designer can do visual design for flexible layouts quite well.
Re:The IDEs we had 30 years ago ... and we lost by project2501 on Tuesday October 21, 2025 @10:45AM (#45656490)
> Everything in the VB UI editor was based on a fixed layout. There was a fixed font size, fixed DPI-density display expectation, and fixed button sizes. Every dialog assumed fixed sizes and was non-resizable

Yes, everything in the layout was fixed, unless you chose to resize it through code

I've developed many applications in VB that dynamically resized every control to maintain a consistent UI regardless of the window size

I mean, simple things like this

textarea.width = form.width - ( textarea.left * 2 )

to keep it centered and preserved the margins

Granted, for complex layouts, it quickly evolved into a dedicated procedure to resize all controls in the correct order and handle edge cases. But it was absolutely doable, even by an amateur teenage programmer

I think other IDEs (Delphi maybe?) had anchors and other helpful features to assist with resizing

Re:The IDEs we had 30 years ago ... and we lost by geon on Sunday October 19, 2025 @12:17PM (#45635366)
I did some iphone development around 2010. The interface builder in xcode was pretty powerful. You could set up multiple screens and hook them up to eachother with drag and drop.
Re:The IDEs we had 30 years ago ... and we lost by raydev on Sunday October 19, 2025 @01:22PM (#45635961)
> I am still shocked how no tool since has managed to come even close to VB

Over on OS X/macOS, Xcode's Interface Builder carried this torch a long way until Apple introduced SwiftUI. Windows developers just didn't notice because it was a different platform.

Re:The IDEs we had 30 years ago ... and we lost by pjmlp on Monday October 20, 2025 @03:41AM (#45640924)
Delphi, C++ Builder, and there are still other ones around like Xojo.

Problem is the amount of Electron crap nowadays.

Re:The IDEs we had 30 years ago ... and we lost by VB6-Programming on Friday October 24, 2025 @12:24PM (#45696200)
Take a look at the twinBASIC programming language. VB6 compatible and can import VB6 source code and forms and adds modern features too.