by api · 6y ago · 0 comments
WHY do these projects insist on doing this? What is it about UI that leads people to think this is a good idea? Do not make me learn yet another language just to use your UI library.
It's not that FreePascal or Dart are bad languages. It's that they're another language to consume yet more precious attention and head space, and there's nothing compelling enough about them vs. C++, Rust, Go, Python, JS/TypeScript, etc. to make it worthwhile.
What do you mean by "write GUI"?
If to declare DOM structure then HTML is for that.
If to initialize DOM structure from code at runtime then this (C++ here):
use namespace sciter;
element root = window.get_root();
element div = element::create("div", L"Hello world");
root.append(div);
div.attach_event_handler(my_controller);
Or do you mean something else?