News for hackers. Stuff that matters.
Re:Get the hell out of the LLM as soon as possible by ilrwbwrkhv on Monday March 31, 2025 @10:57PM (#43542361)
Yep, this is the way. The way I use LLMs is also to just do the front-end code. Front-end is anyways completely messed up because of JavaScript developers. So whatever the LLM shits out is fine and it looks good. For actual programming and business logic, I write all of the code and the only time I use LLMs is maybe to understand some section of the code but I manually paste it in different LLMs instead of having it in the editor. That's a horrible crutch and will create distance between you and the code.
Re:Get the hell out of the LLM as soon as possible by gchamonlive on Monday March 31, 2025 @11:09PM (#43542425)
If I'd have to give you one piece of unsolicited advice, I'd tell you to seek some therapy so that you can overcome whatever trauma you had with front-end development that's clearly clouding your judgement. That is, if I'd give you that advice. Since I'm not, I'll only say that that's extremely disrespectful with everyone doing good work in user-facing application.
Re:Get the hell out of the LLM as soon as possible by dmix on Monday March 31, 2025 @11:42PM (#43542621)
No it really is like that. "Frontend" aka jam everything into an all-consuming React/Vue mega projects really isn't the most fun. It's very powerful, sometimes necessary (<50% of the times it's chosen), and the tooling is constantly evolving. But it's not a fun experience when it comes to maintaining and growing a large JS codebase... which is why they usually get reinvented every 3yrs. Generally an opposite experience with server side which stays stable for a decade+ without touching it and having a much closer relationship to the database makes better code IMO, less layers/duplication.

Frontend is very fun when you're starting a new project though.

Re:Get the hell out of the LLM as soon as possible by gchamonlive on Tuesday April 01, 2025 @05:41AM (#43544755)
Will copy from an answer I gave below:

  Frontend is in such a terrible state that whatever shit code LLM spits out is valid? Give me a break.
Re:Get the hell out of the LLM as soon as possible by dmix on Tuesday April 01, 2025 @09:54AM (#43546819)
I was replying to your comment about the state of frontend, not OP about using AI, just like the other replies you got.

Anyone admitting in public they use LLM output straight up without careful thought wouldn't get hired by me. But at the same time not everyone is building useful tools that people use... or is a professional.

But still in general I agree the sentiment of any backend dev who avoids modern frontend. The frontend world is the one who created this problem and continues doubling down on JS/React-everything and isolating frontends from backends, for little benefit besides minor DX gains (aka benefiting only the frontend dev, not the product or users).

Re:Get the hell out of the LLM as soon as possible by Trowter on Monday March 31, 2025 @11:14PM (#43542446)
He's got a point though front end development is in a completly ridiculous state right now
Re:Get the hell out of the LLM as soon as possible by senordevnyc on Monday March 31, 2025 @11:15PM (#43542452)
And has been for over a decade now.

jquery was the high point.

Re:Get the hell out of the LLM as soon as possible by gchamonlive on Monday March 31, 2025 @11:27PM (#43542532)
When you are disrespectful and arrogant, whichever point you are trying to make no matter how valid it is becomes immediately tangential to what you are actually doing. Venting? Bashing? Ranting? All but valid criticism.

Frontend is in such a terrible state that whatever shit code LLM spits out is valid? Give me a break.

Re:Get the hell out of the LLM as soon as possible by lmiller1990 on Monday March 31, 2025 @11:09PM (#43542420)
Why is it acceptable for front end code to be of lower quality than the rest? Your software is only as good as the lowest quality part.
Re:Get the hell out of the LLM as soon as possible by abraae on Monday March 31, 2025 @11:31PM (#43542551)
The front end is in the hands of the enemy. They can do what they want with it.

The back end is not. If it falls into the hands of the enemy then it is game over.

Security-wise, it is clearly acceptable for the front end to be of lower quality than the back end.

Re:Get the hell out of the LLM as soon as possible by MathMonkeyMan on Monday March 31, 2025 @11:19PM (#43542486)
"It's just the UI" is a prevalent misconception in my experience.
Re:Get the hell out of the LLM as soon as possible by bttrpll on Monday March 31, 2025 @11:13PM (#43542437)
My favorite is these "vibe coding" situations that leave SQL injection and auth vulns because copy-paste ChatGPT. Never change.
Re:Get the hell out of the LLM as soon as possible by alabastervlog on Monday March 31, 2025 @11:16PM (#43542460)
Far from making me fear for my job, LLMs have me more confident than ever that I'll always be able to find some kind of paying programming work, even if it's all short-term contracts (as I get even older).
Re:Get the hell out of the LLM as soon as possible by cheevly on Tuesday April 01, 2025 @01:27AM (#43543135)
So objectively false that I don’t even know where to begin.
Re:Get the hell out of the LLM as soon as possible by alabastervlog on Tuesday April 01, 2025 @08:11AM (#43545798)
You sharing that crystal ball?
Re:Get the hell out of the LLM as soon as possible by lelanthran on Tuesday April 01, 2025 @01:38AM (#43543195)
> Why is it acceptable for front end code to be of lower quality than the rest?

While I don't think that f/end should be of a lower quality than the rest of the stack, I also think that:

1. f/end gets the most churn (i.e. rewritten), so it's kinda pointless if you're spending an extra $FOO months for a quality output when it is going to be significantly rewritten in ($FOO * 2) months.

2. It really is more fault tolerant - an error in the backend stack could lead to widespread data corruption. An error on the f/end results in, typically, misaligned elements that are hard to see/find.

Re:Get the hell out of the LLM as soon as possible by accurrent on Monday March 31, 2025 @11:22PM (#43542504)
I think there are ways of wording what you said without hurting front-end devs. LLMs can be excellent tools while coding to deal with the parts you don't want to sink your own time into.

For instance, I do research into multi-robot systems for a living. One of the most amazing uses of LLMs I've found is that I can ask LLMs to generate visualizations for debugging planners I'm writing. If I were to visualize these things myself Id spend hours trying to learn the details and quirks of the visualization library, and quite frankly it isn't very relevant for my personal goal of writing a multi-agent planner.

I presume for you your focus is backend development. Its convenient to have something that can quickly spit out UIs. The reason you use a LLM is precisely because front-end development is hard.

Re:Get the hell out of the LLM as soon as possible by mpalmer on Monday March 31, 2025 @11:13PM (#43542438)
"other people's bad work makes it pointless for me to do good work"