You are viewing a single thread.
View all comments View context
2 points
*

So you’re saying all C++ GUIs are shit. I concur.

Anti Commercial-AI license

permalink
report
parent
reply
5 points

Thats how every GUI which is not immediate mode works. Are there any examples where it works different?

permalink
report
parent
reply
5 points

I mean, you don’t need a markup file. Qt, Gtk, and others don’t require a markup file, but it’s optional. And neither generate “glue”. They load the markup, render it, and you can reference the elements by ID. Netbeans allowed (allows? I do think it’s dead), a WYSIWYG editor for Java interfaces and it straight up generates Java with comments. You can modify the Java and as long as the comments stay put, it can still load the Java - by far the best GUI editing experience I’ve ever had.

Rust has stuff like makepad that has a DSL using proc macros, slint also has a DSL that is loaded but also allows defining new components in rust that can be used in the DSL.

So no, not everything is as shit as in Microsoft’s C++.

Anti Commercial-AI license

permalink
report
parent
reply
2 points

All these concepts like optional markupfiles, identifying objects by id, creating objects from markupfiles and WYSIWG editors also exist for the xaml(which is a Dsl) and C++ stack. Its just that microsofts usage and tools are crap like every other microsoft software

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 8K

    Monthly active users

  • 1.2K

    Posts

  • 41K

    Comments