Hacker News new | ask | show | jobs
by apsurd 559 days ago
I don't think anyone would say web-standards are excellent, well designed and well-managed.

All the wonderful value is in that they are standard. The web is great in its ubiquity. Love the web! Sure it's a mess, how could it not be?!

<dialog> is a win here in my view, especially for internal admin tools, I don't want to care about the latest flavor of frontend insanity. I just want to save screen space and open content as modal overlay on top of a main view.

2 comments

It isn't wonderful though, it's mediocre :)

They should err on the side of keeping the APIs small. Maybe it would be better if Web Components weren't a thing. I thought ARIA was handling dialogs well when it comes to accessibility. I like the idea of splitting JavaScript into JSSugar and JS0. (It will be nice if in the Deno lawsuit that the USPTO clarifies that Oracle owns the term JavaScript and JS is a free-for-all.)

> I don't think anyone would say web-standards are excellent, well designed and well-managed.

and yet:

> I don't want to care about the latest flavor of frontend insanity.

Those not well managed, not well-designed and not-well managed standards somehow get a pass because that insanity is now a part of the browser?

Do you know that Chrome argued that <dialog> should be removed from the platform because it's a bad API with multiple issues? https://github.com/whatwg/html/pull/4184#issuecomment-440405...

> Do you know that Chrome argued that <dialog> should be removed from the platform because it's a bad API with multiple issues?

That's not at all what the comment you linked to says. It says there was an open question about if <dialog> should be removed from the spec because interest hadn't materialized from Firefox and Webkit for the element after four years (and wouldn't for another two years after that).

What I'm saying is that the goal of standards and cross-platform support across time is valuable. The "open web" is a good thing for humanity.

Work towards this goal is a huge shit show. And messy. But it's a good goal.

The flavor-of-the-month frontend insanity is not serving this "good thing for humanity" goal as I call it. It's all well-intentioned and I'm not looking a gift horse in the mouth. But it is different.