Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

HTML and DOM are genuinely poor media for doing that though. A lot of web development is working around them.

However, it’s the only common UI we have. It is defined outside the scope of any one platform. And if you want to serve HTML, you have to conform to the spec.

There is no UIML. If there were and if it were served via HTTP, we could have all of what you want AND a better web development experience



Okay, but why do you say that? How is <insert favorite native UI toolkit> better?


All native toolkits are better to work with for UI than HTML+DOM.

To paraphrase: saying HTML+DOM is great because it works everywhere is like saying anal sex is the best because it works on everyone.

Eventually, in any significantly complex application, you will have to work around the DOM. Or kick to rolling your own controls because HTML doesn't have what you need. React, Angular, Vue, Bootstrap, Tailwind, Material, the others, they all exist because HTML+DOM is not made for what it has been forced to do.

"Centering a div" is a meme for a reason. You don't have those problems with native UI.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: