News for hackers. Stuff that matters.
Re:My First CSS by blacktriangle on Monday July 26, 2021 @09:53AM (#27959363)
Canvas doesn't bring you do Windows/X11, Canvas brings you to a basic VESA driver where you're plotting pixels manually. You think the JS framework churn is bad now when all of those frameworks are just layers over HTML, just imagine the world we're looking at if everybody is writing their own full GUI framework to work with canvas. At least with JS framework hell everything is guarenteed to have the same output format that we can then interact with with our common set of HTML tools, with Canvas all bets are off.

I get where you're coming from, I really do. HTML5 and CSS are just bad tools for doing GUIs. But there is so much infrastructure built up around them that just overrules any advanage we would get hand rolling a GUI directly rendered to canvas.

Re:My First CSS by adwn on Monday July 26, 2021 @12:51PM (#27961743)
> HTML5 and CSS are just bad tools for doing GUIs

Is there something better? With Qt Widgets, the poster child for cross-platform GUI toolkits, I also frequently have problems with getting the layout to behave the way I want.

Re:My First CSS by blacktriangle on Monday July 26, 2021 @01:26PM (#27962248)
Android dev is better, iOS dev is better, heck even Tk layouts are better.
Re:My First CSS by adwn on Monday July 26, 2021 @02:12PM (#27962969)
> Android

Not cross-platform.

> iOS

Not cross-platform.

> Tk

Decreasing mind-share for 2 decades+, not something I'd start a new project with.

Re:My First CSS by blacktriangle on Monday July 26, 2021 @02:44PM (#27963500)
Cross-platform and being a good tool are orthogonal concepts. We use HTML/CSS for GUIs IN SPITE OF their general unsuitableness because the value of easy distribution wins over developer sanity.
Re:My First CSS by adwn on Monday July 26, 2021 @03:10PM (#27963904)
> Cross-platform and being a good tool are orthogonal concepts.

I agree, but when I need to develop some software for Windows and Linux, a great toolkit for Android or iOS is of no use to me. Similarly, I won't use a Linux-only or Windows-only toolkit, as awesome as it may be, because I'm not going to build two different GUI layers.