▲ 126 ▼ In case you've ever wondered why the Windows control panel was so awful... (lemmy.world) submitted 2 years ago by cm0002@lemmy.world to c/programmer_humor@programming.dev 23 comments fedilink hide all child comments
[–] onlinepersona@programming.dev 2 points 2 years ago* (3 children) So you're saying all C++ GUIs are shit. I concur. Anti Commercial-AI license permalink fedilink source parent hideshow 3 child comments replies: [–] cbazero@programming.dev 5 points 2 years ago (2 children) Thats how every GUI which is not immediate mode works. Are there any examples where it works different? permalink fedilink source parent hideshow 2 child comments replies: [–] onlinepersona@programming.dev 5 points 2 years ago (1 child) 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 fedilink source parent hideshow 1 child comment replies: [–] cbazero@programming.dev 2 points 2 years ago 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 fedilink source parent
[–] cbazero@programming.dev 5 points 2 years ago (2 children) Thats how every GUI which is not immediate mode works. Are there any examples where it works different? permalink fedilink source parent hideshow 2 child comments replies: [–] onlinepersona@programming.dev 5 points 2 years ago (1 child) 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 fedilink source parent hideshow 1 child comment replies: [–] cbazero@programming.dev 2 points 2 years ago 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 fedilink source parent
[–] onlinepersona@programming.dev 5 points 2 years ago (1 child) 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 fedilink source parent hideshow 1 child comment replies: [–] cbazero@programming.dev 2 points 2 years ago 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 fedilink source parent
[–] cbazero@programming.dev 2 points 2 years ago 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 fedilink source parent