Live data from Hacker News

The End of Front-End Development

joshwcomeau.com

71–80 of 111 posts

Re: The End of Front-End Development

#71
I'm a dev using ChatGPT and CoPilot. I work more efficiently as a result.

Currently I don't think LLMs represent a risk to my job in that I work for a small company and personally handle many aspects of the development process on my own. However, at a larger company where those roles are spread out I could see some of them going away soon.

I work on a large WordPress theme. If an LLM were trained on that theme it could possibly have the global scope I need to make changes and understand their impact. It won't be long before we have software that allows you to easily train an LLM for your use. That could threaten my job. But then, my company would still need someone to manage and QA the results.

So I see fewer jobs, but not the end of the profession.

Re: The End of Front-End Development

#72

Frontend seems to involve visual design, which backend obviously doesn't (usually). Other than that, I don't see the difference, as soon as you're working on things more complex than simple static pages. Both will gradually become more efficiently done through smart use of AI tech. But replacement? ChatGPT and GPT4 can't solve real world problems without heavy time investment of an engineer to prompt-engineer a semi-…

There are a variety of differences.

Frontend development involves a large number of fuzzy human bits that are constantly moving underneath you. Yes, your backend dependencies can change and you may need to update an API version, but in frontend you have browsers, screen readers, frameworks, and all sorts of massive icebergs largely outside of your control constantly moving.

In the backend, you probably have a language that is fairly stable. Write some unit tests, write some integration tests, but things are predictable and mockable.

Writing UI (properly) requires testing against several versions of several browsers, each with their own rendering quirks. UI tests - screenshots, whatever - are inherently flakier and when something breaks it's harder to know for sure if it's your fault.

You need to test against a variety of screen readers and accessibility tools. None of them are well documents, all of them parse the DOM (or native accessibility stack if you're not doing a web app) in a slightly different way, and the standards are constantly changing. As a bonus, you're legally obligated to get it "right", not that anyone can tell you precisely what "right" is.

Visual design isn't a walk in the park either. The designers will tell you to use color X. Its contrast ratio against colors Y, Z, and B on various pages will hopefully meet the contrast ratios, but then someone will point out that in exactly one of Windows' four different high contrast schemes this ends up being black on black and you will stare into a dark Lovecraftian abyss wondering what hellish algorithms Microsoft uses to pick colors. You'll fix HC Black and break HC white, you'll fix white and break black #2, and you will eventually throw your computer into the Marianas trench and go repair bicycles for a living.

Re: The End of Front-End Development

#73

AI won't take of front-end dev jobs until it can start creating a new framework every week, constantly break backwards compatibility, then abandon the project and start a new one.

This joke is getting so old, we need to say thank you and let it go.

Re: The End of Front-End Development

#74
post #17

Yet another blog post about how LLM can't replace people for X task. I wish there was less noise about this and more discussions on how we will (all) benefit from LLM replacing people. Like UBI, paying people to pursue their passions, etc. I personally would be fine if LLM replaced my $DAYJOB if it meant I could work on learning violin, gardening, or creating videogames.

That would be great, but I don't see it happening. Instead I find it more likely that human labour will be relegated to other activities which cannot be automated like food delivery, driving, cleaning et cetera, and we will all keep working 40hr work weeks (if you are lucky to have a job).

Relevant:

https://twitter.com/stealthygeek/status/1604513283972767745 Quote: 1960's Futurists: Automation will free mankind from meaningless tedium to focus on creative pursuits only human beings can master.

2020's Techbros: We're building AI that will write all your books, music, and TV so you can focus on the meaningless tedious of your cubicle job.

Re: The End of Front-End Development

#76
I see posts like this comparing past attempts, and in this article even 1990s Homestead, and I immediately think this person does not get it.

Additionally all the statements that follow along the lines of "GPT today has a hard time with xyz" are all problematic too. Today is not tomorrow, and what it can do tomorrow is what we should be talking about.

The fact is in just 3 months we've gone from fairly basic code reviews to super helpful code reviews with code examples and intelligent code contextual comments.

Comparing GPT to Homestead or any number of early attempts to translate mockup to HTML+JS is unhelpful. This is wildly different technology. Talking about what GPT can do today and landing at "it's not good enough" is also missing the point, we are nowhere near the limits of this tech and it's evolving so fast that these assessments are not insightful in the slightest.

Talking about GPT as being merely a probability evaluator is also demonstrating the authors limited insight. WE ARE ALL probability evaluators. Humans work on prior experience, employ heuristics to make decisions based on that. GPT, indeed all AI, is more or less based on that paradigm. The difference is an AI can hold the whole of its learning in a perfectly memorized model. It doesn't forget what's in that model and can draw on billions of data points to make its probabilistic determinations. We pull on bias, false memories, misunderstandings, and so on. Now, that's not to say AIs won't also be afflicted by these comprehension errors, but that just doubles down on AI doing what humans do which is astounding either way.

Jobs are going to be lost, it's a fact. Even if it's just that junior who was learning code reviews and supporting basic development, that job will be around for maybe a year or two at the rate we are moving.

Re: The End of Front-End Development

#77

With a decade of experience as a front end dev in this industry, I have to agree with the premise, although not for the reasons stated. AI is, and will be, hugely disruptive for all fields of programming. But it won't be taking jobs any time soon. The reason front end development as a skillset is coming to an end is that we've solved all of the problems that front end devs were responsible for. Front end used to be a…

Never read such a long list of inaccurate statements here on Hacker News.

Re: The End of Front-End Development

#78
Just want to say, I'm really enjoying your site, thanks for all the tuts, they're timely! Just decided to ditch Wordpress because my content is static. Wordpress is ridiculous bloat for that. With CSS grid and flexbox I can replicate easily in HTML. Only reason I adopted WP, ~ 2014, was to get a sidebar, and escape from the dreaded float. Comments are my only dynamic content, easily transferred to a forum.

Anyway most appreciated, thank you.

Re: The End of Front-End Development

#79

Earlier quoted context omitted.

I find an engineer's value is in creating things have not been created before. As the author of the article says, there's already lots of great tools for making simple sites. So far, I've found that LLMs are not good at making novel software, it's basically a glorified stackoverflow. But that's still quite useful… for a programmer!

That's exactly it. Ultimately programming is just telling the computer what you want it to do - something that a LLM is unable to do. There may be a future where an AI is smart enough and demonstrates enough analytical, cognition, and deduction ability that it can take over specifying what a computer should do - but it's not today and it's not immediately at-hand. Nor is anything that can do so likely to emerge from…

> There may be a future where an AI is smart enough and demonstrates enough analytical, cognition, and deduction ability that it can take over specifying what a computer should do

When we reach that point, anyone's job will be at risk. Give that AI an AWS account and a credit card and it'll take over the world, not build websites when someone asks it to.

Re: The End of Front-End Development

#80

I see posts like this comparing past attempts, and in this article even 1990s Homestead, and I immediately think this person does not get it. Additionally all the statements that follow along the lines of "GPT today has a hard time with xyz" are all problematic too. Today is not tomorrow, and what it can do tomorrow is what we should be talking about. The fact is in just 3 months we've gone from fairly basic code rev…

> Jobs are going to be lost, it's a fact. Even if it's just that junior who was learning code reviews and supporting basic development, that job will be around for maybe a year or two at the rate we are moving.

And how is that not a disaster for those who are out of work?

Post reply on HN