Live data from Hacker News

Guietta – Python module to create simple GUIs

github.com

31–40 of 166 posts

Re: Guietta – Python module to create simple GUIs

#31
post #5
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

You don't even have to go back that far. XAML and C# developed with Visual Studio and Expression Blend is a fantastic experience, it almost makes me wish Silverlight was still around.

It's much heavier than what we had with Delphi/VB, it feels like wading through treacle in comparison.

Re: Guietta – Python module to create simple GUIs

#32
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

Ah I came to comment this. Loved the GUI builder in Delphi, it's where I cut my teeth learning to program as a teenager.

Since then, I've seen .NET within Visual Studio almost get to the same quality we had with Delphi in 1995, but still way off.

Now that everything's a web app wrapped in something like Electron, it should be so much easier to have tooling like this, but yet we're all still building hugely complicated HTML rendering pipelines for something that was a solved problem a couple of decades ago.

Re: Guietta – Python module to create simple GUIs

#34

Earlier quoted context omitted.

Too bad, Pascal is not really popular. If only there were similar thing (cross-platform GUI library) but for Go or Rust languages.

Popularity shouldn't be the deciding factor for tools of any kind.

For personal projects. For engineering managers, popularity of a language or a framework is a significant consideration from resourcing perspective. It is the driving force behind many migrations off Perl, i.e. inability to hire Perl developers in sufficient quantity to continue supporting Perl-based backends.

Re: Guietta – Python module to create simple GUIs

#35

Earlier quoted context omitted.

Too bad, Pascal is not really popular. If only there were similar thing (cross-platform GUI library) but for Go or Rust languages.

Popularity shouldn't be the deciding factor for tools of any kind.

Popularity helps if you like your tools to be updated and maintained, and you want to hire lots of people who know how to use them.

Re: Guietta – Python module to create simple GUIs

#36

Earlier quoted context omitted.

Too bad, Pascal is not really popular. If only there were similar thing (cross-platform GUI library) but for Go or Rust languages.

Popularity shouldn't be the deciding factor for tools of any kind.

Why not? I mean, it shouldn’t be _the_ deciding factor but it certainly should contribute greatly to the decision.

Tools get popular for a reason. You get community support and a test-of-time guarantee that whatever you invest in today is more likely to last compared to the niche choice.

Re: Guietta – Python module to create simple GUIs

#37
post #12
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

Qt has both Qt Designer and Qt Creator to build GUIs with drag and drop.

Qt and it's designer is great until you try to deploy to mobile devices. That aside, I find the non-visual components of delphi/lazarus the easiest to use when doing GUI work for the desktop. You drag a data connection, a datasource, give it a table, some filtering, connect it to a grid and the grid handles all the CRUD operations for you. Even at design time! Hard to find that ease in Qt.

PS: I really love Qt. It lets me do things no other framework can easily do. I love building performant, graphically heavy and fast user interfaces. It just wasn't built for mass-producing desktop forms that are connected to a DB.

Re: Guietta – Python module to create simple GUIs

#38
Nice work. I have one out of curiosity question.

In the example, there is the button called 'Calculate' and then action define in "gui.Calculate" block. But what if the name of the button was 'Calculate it'(with the space between words)? The action header would be gui.'Calculate it'?

Re: Guietta – Python module to create simple GUIs

#40

I love how the imports in https://github.com/alfiopuglisi/guietta/blob/master/guietta/... are ordered from shortest to longest. Makes them look like stairs! Very aesthetically pleasing :). Might take that up in my next project.

Some of Python linters enforce such style. If you enable pylint or black I think they do that by default.
Post reply on HN