this post was submitted on 23 Jan 2025
75 points (93.1% liked)

Programmer Humor

20068 readers
746 users here now

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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona@programming.dev 2 points 12 hours ago* (last edited 12 hours ago) (1 children)

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

Anti Commercial-AI license

[–] cbazero@programming.dev 4 points 11 hours ago (1 children)

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

[–] onlinepersona@programming.dev 2 points 5 hours ago

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