Live data from Hacker News

If you want to create a button from scratch, you must first create the universe

madcampos.dev

1–10 of 144 posts

Re: If you want to create a button from scratch, you must first create the universe

#3

I love how this clearly satirical piece unfortunately is how a lot of websites operate.

It's also very educational. Having used mostly frameworks or raw html5 with HTMX I stood not know most of the things that page talked about.

Re: If you want to create a button from scratch, you must first create the universe

#7
This would have been a very smart and useful article up until 3 years ago. Now with AI doing this work is a minute, with most if not all considerations baked in, if some strange quirk would need it. Frameworks and dependencies made and replaced by custom "ground-up" creations is now a plausible reality. Not necessarily useful but doable and most importantly, testable in a fraction of time. We should readjust our sensibilities to that.

Re: If you want to create a button from scratch, you must first create the universe

#8
post #4

Great satire but let's create that same for combobox with server side filtering. Now you have problem because it's not possible with native HTML elements. Many re-implementations are result of missing native elements.

Right, and the article kind of proves your point even a plain button needs formAssociated + ElementInternals to feel native. A combobox with server-side filtering is a whole other galaxy.

Re: If you want to create a button from scratch, you must first create the universe

#9

This would have been a very smart and useful article up until 3 years ago. Now with AI doing this work is a minute, with most if not all considerations baked in, if some strange quirk would need it. Frameworks and dependencies made and replaced by custom "ground-up" creations is now a plausible reality. Not necessarily useful but doable and most importantly, testable in a fraction of time. We should readjust our sens…

By default AI doesn't bake in all considerations. By nature of how it works it behaves like a human, i. e. making similar mistakes and oversights... I feel like this could somewhat ironically be shown with exactly this task. Let's let it make button and see how many ways it gets it wrong.

Re: If you want to create a button from scratch, you must first create the universe

#10
post #4

Great satire but let's create that same for combobox with server side filtering. Now you have problem because it's not possible with native HTML elements. Many re-implementations are result of missing native elements.

Correct me if I’m wrong, but my understanding is Google would love to make more web standards native (including selectors which have improved on chrome but are basically broken on safari) but Apple holds back progress in a (borderline?) anticompetitive way
Post reply on HN