Live data from Hacker News

Is AI causing a repeat of frontend’s lost decade?

mastrojs.github.io

291–300 of 352 posts

Re: Is AI causing a repeat of frontend’s lost decade?

#291

Earlier quoted context omitted.

It's intended for another item currently on the front page: https://news.ycombinator.com/item?id=48321631

Oops you're right, but too late to delete. Weird that it got 10 upvotes...

Just shows that a lot of people read the comments without reading the article :)

We've moved the comment to the right thread.

Re: Is AI causing a repeat of frontend’s lost decade?

#292
post #291

Earlier quoted context omitted.

Oops you're right, but too late to delete. Weird that it got 10 upvotes...

Just shows that a lot of people read the comments without reading the article :) We've moved the comment to the right thread.

Ok thanks, my bad.

Re: Is AI causing a repeat of frontend’s lost decade?

#293

Earlier quoted context omitted.

> LLMs have, on the other hand, made it even easier to botch all of these and quickly roll out a half-baked MVP Compared to the status quo where people pretty much never consider these things, like accessibility, especially not for an MVP? How many people have never added written aria attribute? I would suspect 90%+ of people touching the frontend. The difference with LLMs is that (1) they have a latent rigor for thi…

I would much rather have software that works but lacks accessibility features than software that's broken but also has some broken accessibility features sprinkled in. The former is useful to many people, while the latter is useful to no one. But the key here is: LLMs don't have latent rigor, nor any other kind of rigor.

I think higher up in the thread it was already argued and agreed that the rigor is generally already present, and can be doubly sure to exist in agents.md.

You get a lot of things for free with LLMs. You program an input box that goes to a form, handle the backend, make sure the variable names match the box, the API, the data structures and the database columns. All the brain matter making sure that flow works is mastered by an LLM since even with GPT 3.5 (not that I am advocating using that anymore). But the point is, since that's taken care of, why not also let it handle aria, input hints, mouse effects, state storage, animations since most of it's handled by putting "handle aria, input hints, mouse effects, state storage, animations" any time the front end files are changed." in agents.md

I would say that's rigor. Now you go a step further and have another LLM in your QA cycle that double checks it.

Re: Is AI causing a repeat of frontend’s lost decade?

#294
post #291

Earlier quoted context omitted.

Just shows that a lot of people read the comments without reading the article :) We've moved the comment to the right thread.

Ok thanks, my bad.

It's fine! Mistakes happen. You can always email us (hn@ycombinator.com) to ask us to fix things like this.

Re: Is AI causing a repeat of frontend’s lost decade?

#295
post #68

Earlier quoted context omitted.

> I know hating CSS is a fun pastime for folks around here, but maybe it’s just that building good, rich user interfaces that people can use is an inherently hard problem. That CSS and web never really addressed did they? There's almost nothing in the web platform to build rich user interfaces . You can barely do styled text. CSS and HTML are literally littered with accidental, ad-hoc, badly thought-out and badly des…

> That CSS and web never really addressed did they? There's almost nothing in the web platform to build rich user interfaces. You can barely do styled text. Let me guess, you stopped reading web standards documents because Facebook told you it didn’t matter, since you could just ship 10MB of javascript with every request

What a nice ad hominem you decided to employ in lieu of an actual argument.

Try again.

Re: Is AI causing a repeat of frontend’s lost decade?

#296

Earlier quoted context omitted.

nostalgia is one hell of a drug

Web has always fucking sucked, and it fucking sucks today. The only way to make the web technologies not suck is to use them to power a vacuum cleaner.

Please no, I need my vacuum to work reliably in every room.

Re: Is AI causing a repeat of frontend’s lost decade?

#297
post #26

I'm sure I'm not alone in feeling the "deep expertise" OP laments was actually deeply inconvenient to many people. I understand that there's a good living to be made from knowing browser quirks, hand-rolling accessible components, mastering CSS specificity, but this is largely accidental complexity. More people building things is straightforwardly good, and if some of those things are slower or less accessible, that'…

The problem is, mastering accessibility, intuitiveness, compatibility, responsiveness, scalability, architecture, performance, and all those other less immediately visible, "forward-thinking" parts of UX/software development has always been difficult. Ultra high-level frameworks and now LLMs have, on the other hand, made it even easier to botch all of these and quickly roll out a half-baked MVP. The gap between "acce…

I don't have the same rosy memory of the history as you do. I remember very regularly having to wrestle with flash or java applets reinstalling and doing all kinds of voodoo I could to get sites to run, sites I used fine the day prior. Figuring it all out on my oh so slow connection and hoping no one calls the landline lest it stops all the progress. Not saying it wasn't a fun period of chaos and I everyday wish for internet to become the wild west it once was. It was acceptable in the sense that I didn't know it could be better, I was used to OS hanging and crashing regularly on my oh-so-fancy dual core system as well regularly so it was all acceptable.

Today I find myself having less patience for it all, because things just tend to work a lot more often than they don't.

With AI, I find so many small businesses and others I deal with which have their own websites have started to have better design, better performance and while I don't know if they are really accessible but they tend to have more prevalence of aria labels.

Not to take away from your experiences, just sharing my anecdotes.

Re: Is AI causing a repeat of frontend’s lost decade?

#298

I'm sure I'm not alone in feeling the "deep expertise" OP laments was actually deeply inconvenient to many people. I understand that there's a good living to be made from knowing browser quirks, hand-rolling accessible components, mastering CSS specificity, but this is largely accidental complexity. More people building things is straightforwardly good, and if some of those things are slower or less accessible, that'…

> the "deep expertise" OP laments was actually deeply inconvenient to many people This reminds me of the Upton Sinclair quote: “It is difficult to get a man to understand something when his salary depends upon his not understanding it.” LLMs feel threatening to anyone who had an edge by knowing how to navigate domains with a lot of weird and complex behavior. It’s nice to feel like businesses need you if they want to…

And LLMs remind me of the video game Lemmings.

Also reminds me of that episode of Star Trek TOS 'The Ultimate Computer'

And the STTNG episode 'The Game'

Einstein was correct, the only thing in the universe that is infinite is human stupidity.

That is why I feel threatened by LLMs.

Re: Is AI causing a repeat of frontend’s lost decade?

#299
Anyone who cares about the "craft" and "quality" of frontend or any other domain of programming should LOVE all the LLMs because it actually enables high code quality at very low cost. You can enforce best practices, do full code refactors, write as many tests as you want and you can do it without telling management that you need to stop writing code for 2 weeks for "tech debt". All you need is one guy with a lot of tokens to stay up with a lot of caffeine one night.

This is not the lament of the code getting worse (it's not) but the coders losing the knowledge of how to do it by hand without LLMs. If people really wanted to learn how to do things by hand, they can. In fact the AI is probably going to be infinitely more patient and knowledgable than any senior dev if you really wanna do this by hand. Just turn off the AI's ability to modify the code and just have it give you advice on the side.

The reason why nobody does that anymore is because most engineers work for capitalists not artists. It's the same reason I don't know how to farm my own food or make my own clothes like my ancestors did. Most people do programming because it's a job - not because it's an artistic passion. And that's OK.

Re: Is AI causing a repeat of frontend’s lost decade?

#300
post #26

I'm sure I'm not alone in feeling the "deep expertise" OP laments was actually deeply inconvenient to many people. I understand that there's a good living to be made from knowing browser quirks, hand-rolling accessible components, mastering CSS specificity, but this is largely accidental complexity. More people building things is straightforwardly good, and if some of those things are slower or less accessible, that'…

The problem is, mastering accessibility, intuitiveness, compatibility, responsiveness, scalability, architecture, performance, and all those other less immediately visible, "forward-thinking" parts of UX/software development has always been difficult. Ultra high-level frameworks and now LLMs have, on the other hand, made it even easier to botch all of these and quickly roll out a half-baked MVP. The gap between "acce…

Personally the biggest conceptual problem with HTML/CSS is that it's incredibly unintuitive with mapping to real-world concepts, and not low-level (or straightforward) enough so that the low-level primitives are easy to manipulate.

For example, WPF programs can have great accessibility - this comes from the fact that programmers can manipulate primitives which are semantically meaningful (buttons, lists etc).

In HTML its just a sea of divs which lately have become an implementation detail to hang classes on to, and sometimes not even exposed directly to the developer, if you use a SPA framework.

There's not a snowballs chance in hell you can build a quality accesibility solution on top of that.

HTML's main idea was that HTML was a document model, that described the content in a semantically meaningful way, and CSS was the 'rest' which kind of allowed to make the whole thing pretty - the idea going as far as separating content from looks should allow people to 'theme' their websites and completely redefine layout.

That idea has been completely abadoned. I'm not a frontend dev - although I can make a competent webpage by myself, I don't have deep insights into what's going on in the field - maybe Web Components will allow people to create semantically meaningful pages in a standard way?

Maybe there should be another layer of abstraction on top of what we have - which is truly semantic, this time for real?

Post reply on HN