News for hackers. Stuff that matters.
Re:So you want to write a GUI framework (2021) by readyplayernull on Friday June 23, 2023 @12:52AM (#36442932)
> UI toolkit is equivalent to a game engine like Unity

Funny that you mention Unity because they first had an immediate mode UI that was very difficult to work with, then they got a more flexible UI but decided to go the HTML way of having separate documents for elements and styles, making the whole design process way more complex.

Re:So you want to write a GUI framework (2021) by andybak on Friday June 23, 2023 @06:48AM (#36445143)
Unity in recent years has a tendency to overengineer things and have little regard for ease of use for some features.

The new input system is powerful and flexible but is slower to learn and makes lots of things that used to be easy much harder.

Same for the new UI Toolkit and several other recent additions. I think it's a company culture thing - nobody internal is rooting for casual devs or noobs.

The problem is - everyone is a noob on something. You might be an incredibly experienced Unity dev who rarely touches input or UI. You want to quickly implement something and you're going to feel the pain.

"Make the easy things easy, and the hard things possible."