News for hackers. Stuff that matters.
Re:Ask HN: Why is building Windows apps so complicated? by chucktingle on Sunday December 12, 2021 @08:43AM (#29529541)
>so complicated

Compared to what? GUI programming has always been hard on all platforms I tried.

Re:Ask HN: Why is building Windows apps so complicated? by amenghra on Sunday December 12, 2021 @08:53AM (#29529607)
Some tools made building GUIs easy (and fun). I can think of Visual Basic, HyperCard, Borland’s TurboPascal, FrameMakerPro, etc.

In today’s era, the easiest GUI tools are probably game engines, iOS and web browsers.

Re:Ask HN: Why is building Windows apps so complicated? by hallway_monitor on Sunday December 12, 2021 @08:53AM (#29529599)
Exactly. There's really not a way to make it easy. Web is the best UI dev method, that's why electron became popular.
Re:Ask HN: Why is building Windows apps so complicated? by captainmuon on Sunday December 12, 2021 @09:29AM (#29529885)
I found VB6 really easy. Draw buttons on a form, double click, write code behind. There was also a huge ecosystem of components you could use. Delphi was similar in spirit.

I've also found Python + Gtk (in the Python 2 and Gtk 2 days) very simple and productive.

There are a ton of problems that you have in webdev that don't neccessarily exist in a local app. Mostly from the fact that you have state everywhere, in the client, on the server, and in the database, and you have to manage it asyncronously. React helps with it a bit, but in principle a desktop app can be "100% frontend" (I mean you still have something like MVC, but you don't have a separate server or a sandbox for window js where you have to communicate).

Re:Ask HN: Why is building Windows apps so complicated? by umanwizard on Sunday December 12, 2021 @09:45AM (#29530024)
> Draw buttons on a form, double click, write code behind

If my memory serves, this is also how WinForms worked.

Re:Ask HN: Why is building Windows apps so complicated? by bluedino on Sunday December 12, 2021 @11:32AM (#29530978)
One problem with VB is you still have to know C/C++ to extend it
Re:Ask HN: Why is building Windows apps so complicated? by spaniard89277 on Sunday December 12, 2021 @11:06AM (#29530717)
Lazarus does that too.
Re:Ask HN: Why is building Windows apps so complicated? by shaan7 on Sunday December 12, 2021 @09:10AM (#29529734)
Best is a strong word. Just because something is popular does not mean it is the best. It is the cheapest/easiest (for developers), I have to agree.
Re:Ask HN: Why is building Windows apps so complicated? by ant6n on Sunday December 12, 2021 @09:06AM (#29529698)
With Delphi, GUI programming was super easy!
Re:Ask HN: Why is building Windows apps so complicated? by FpUser on Sunday December 12, 2021 @12:11PM (#29531346)
Still is
Re:Ask HN: Why is building Windows apps so complicated? by interactivecode on Sunday December 12, 2021 @08:51AM (#29529587)
MacOS is simple, open xcode, new project, choose the app and press run.
Re:Ask HN: Why is building Windows apps so complicated? by tester756 on Sunday December 12, 2021 @09:00AM (#29529653)
Well, so just like on Windows :P

Open VS -> New Project -> Winform/WPF -> Run

Re:Ask HN: Why is building Windows apps so complicated? by vixalien on Sunday December 12, 2021 @09:11AM (#29529747)
to elabolate:

1. Open VS, wait a minute. 2. New Project 3. Run, wait 10 minutes for dependencies to download. 4. Want to use Sublime Text or VS Code, haha lol.

Re:Ask HN: Why is building Windows apps so complicated? by tester756 on Sunday December 12, 2021 @09:44AM (#29530017)
>3. Run, wait 10 minutes for dependencies to download.

Why would you need 10 minutes?

>dotnet new winforms

>dotnet run

>app appears

takes a few secs

even on old .NET there was no such a thing like 10 min wait for dependencies to load

Re:Ask HN: Why is building Windows apps so complicated? by washadjeffmad on Sunday December 12, 2021 @11:05AM (#29530698)
You didn't ask about their internet quality, computer specs, etc.

If you're used to developing on Linux where you can self-host entire repos, it's incredible how fragile and ephemeral the MS stack must feel.

Re:Ask HN: Why is building Windows apps so complicated? by tester756 on Sunday December 12, 2021 @12:10PM (#29531333)
What do you mean?

>If you're used to developing on Linux where you can self-host entire repos, it's incredible how fragile and ephemeral the MS stack must feel.

I guess he's talking about restoring nuget packages, so of course you don't want to have all existing nugets in all versions on your disk.

Re:Ask HN: Why is building Windows apps so complicated? by throwaway19937 on Sunday December 12, 2021 @11:56AM (#29531182)
> 1. Open VS, wait a minute. 2. New Project 3. Run, wait 10 minutes for dependencies to download. 4. Want to use Sublime Text or VS Code, haha lol.

You're playing on hard mode; try using Visual Studio for everything.

Re:Ask HN: Why is building Windows apps so complicated? by theduder99 on Sunday December 12, 2021 @09:46AM (#29530037)
#3 is a one-time cost, #4 is you are doing it wrong
Re:Ask HN: Why is building Windows apps so complicated? by rkeene2 on Sunday December 12, 2021 @10:37AM (#29530429)
Tk has generally been easy.