Hacker News new | ask | show | jobs
by pastel8739 40 days ago
Is that not what software engineers do?
2 comments

I recently vibe coded an application fully and tested it with users. So all the functional requirements were there.

Guess what wasn’t?

The nonfunctional requirements.

Also: my app needs to do LLM classification. But instead sometimes the coding assistant wrote not an LLM api call but it wrote a regex to classify instead. This was despite the fact that I mentioned to not use regexes to classify things with.

Non-technical people don’t know what a regex is. Usually they also aren’t knowledgeable enough about nonfunctional requirements.

All of this may improve over time of course. But right now, I am not impressed (in terms of replacing SWEs).

Why didnt you vibecode the The nonfunctional requirements?
Not needed yet, we needed to capture the UX first to see if we could create what we'd want to create.
"it didn't replace programmers because we didn't ask it to" seems like a really weird argument to make.
I think the point is that it doesn't "just work" of you don't know what you are doing.

In general I got the feeling that AI saves a lot of work, avoids a lot of big category, but also introduces new but categories that you need to account for.

>Guess what wasn’t? The nonfunctional requirements.

OK, so you test it, see which nonfunctional requirements it doesn't meet, and ask the AI to change the code to include them - repeat until you're happy.

Yep and then you'll have some war stories how things break in production because they weren't initially included in the nonfunctional requirements. Have enough of these war stories and you'll basically be a software engineer. Albeit, a software engineer that has never coded before, but definitely someone who understands production issues.
Today I learned, the difference between an end user and a programmer is access to jira.
>Yep and then you'll have some war stories how things break in production because they weren't initially included in the nonfunctional requirements.

I have plenty of those in decades of human programming too, so...

It is, but software engineers have a much broader understanding of the problem, they also ask questions, and if they are good, they ask the right questions, something LLMs still have a problem with.

Personal example of what LLMs can't do, but I could: I made a script to update some version numbers in some files, based on some other files. Simple stuff, and one of my colleagues told me "ask the AI, it will take 5 minutes". Well, no, because the files sit on different machines, and extracting the files from one machine and putting the result on the other machine requires knowledge of the infrastructure. Again, simple stuff, but the AI doesn't know, and we certainly are not going to let it run wild in our network. I know all this because I talked to the team, attended meetings, and did a bit of careful exploration. I am trusted with resources to do my work in a way the AI doesn't, I am sure it is mostly because I can take the blame me if I misuse them.

> they also ask questions, and if they are good, they ask the right questions, something LLMs still have a problem with.

Sure, but LLMs do ask some questions already, and there is no reason to think they can’t keep getting better at knowing the right questions to ask.

Humans also often fail to do this well, and I think we all have experience with developers who do a very poor job at understanding what is actually being asked of them.

Maybe LLMs will never become as good as an expert developer at being able to suss out what someone is actually trying to do when they make a request, but it is certain LLMs will become better at it, and there is no reason to currently believe they couldn’t eventually become as good as the best humans eventually.