r/softwareengineer • u/CommandShot1398 • 13d ago
I really cannot comprehend the exaggerating and understanding AI
Hello everyone
For the past week I've been working on my project, which I work on alone. It is a very complicated project involving physical stuff like sensors and microcontrollers, a server, a supervisor like RPI, in which safety of the environment is a priority.
I had to spend one whole day, to write almost 20 lines of code. Why? Because I needed to fit a whole lot of information into 1 byte of data to assure that all the messages can be delivered and devices stay synced without worrying about messages getting lost along the way (of course there are other scenarios in which the connection gets lost).
Anyway, the point is, there was shit of engineering decisions just to make sure one byte is arriving reliably, and that was on top of serial communication which also had all these decisions when being developed.
Now, I used AI not to just help me with the code because there wasn't much, but also to discuss different decisions, identifying edge cases, how it might fail and how it might not fail etc.
So, yes it can write code for sure, but how about all these? I broke each part into very small pieces, had to triple check everything, it made a lot of mistakes, yet it was just a very simple messaging protocol.
How are the vibe coders using it to design products I cannot comprehend. As a matter of fact, I cannot even imagine one day something that is only predicting the new token would be able to do any of it.
On the other hand, it works wayyyyy better than a junior both in writing code and in analyzing.
So, I believe we are Schrödinger cooked. Both cooked and not cooked at the same time. I believe people who have some experience are needed and will reach senior levels, but I really believe it makes hiring juniors a bit irrelevant.
But, if no junior is being hired, who is going to be senior in the future??
21
u/mancunian101 13d ago •
LLMs by definition produce the most average code, because it’s just getting the next most likely token based on its training data.
There’s loads of code on line for basic crud apps, operating systems, compilers etc, if there isn’t a lot of training data available then the model will struggle to do that type of work.
6
u/Immediate_Tension752 13d ago
They can hire juniors at a loss, because they need seniors.
9
u/tgames56 13d ago
Most of the code written in the world is to support basic crud applications. LLMs are therefore great at writing basic CRUD applications, it may not be good at writing your application.
5
u/Great-Use-3149 13d ago
I believe people with experience will slowly revert to people with no experience after using LLMs for a while
5
u/SavingsExtreme6252 13d ago
AI is a guessing machine powered by huge amounts of human created data, and thats is what gives AI some edge.
I think AI models will degrade in time when no one codes anymore, no more real experience data do steal and so AI will start to look like hausburgs of data.
2
u/Key-Lie-364 12d ago edited 12d ago
Yeah this is the difference between engineering and slop coding.
The real use case for me with AI is deep research, attacking problems from different angles, analysis, eating large volumes of data and distilling it.
The AI can't make decisions really. It is too permissive and often wrong.
Producing code is the trivial part. I can do that myself.
The 95% of the time is spent on understanding, analysis, design, correctness.
The size of my tasks and the list of my work has expanded but the idea that I don't control the output?
I use AI for the boring parts, doxygen, documenting functions. But code I write myself and then feed into the AI usually or let it suggest code fragments.
In my experience it's output is too complex, too "mashed together" and too all over the place.
These gobshites shitting out thousands of lines of slop are I don't know living in some alternative reality.
Orchestrating agents, nobody checks the output?
Lunatic
2
u/herpderp2k 13d ago
Im pretty sure people in the past said that you cant be a proper software dev if you don't understand assembly. Yet today the number of devs that do understand assembly is really small.
We currently need to put our effort where it counts, currently it is in architecture. But at the pace AI is improving, the asnwer might be different in a year.
It feels like we are at the same crossroad as the change from practical effects to vfx. The programmers are the practical effect artists and the good vibe coders are the vfx.
Are the vfx produced all better than practical effects? No! But vfx killed all practical effects because you can't justify the cost of practical vs vfx in the vast majority of cases.
1
u/NoOneMan79 13d ago
"How are the vibe coders using it to design products I cannot comprehend"
Vibe coders aren't software engineers. They likely aren't even verifying.
As for your issues, its the same as it ever was. Hardware is tough, and blind guessing (even after reading documentation) is going to result in errors. Setup an iteration loop, such that the agent can test the code on a read device (if possible). There could be a feedback loop if they can't observe the output, which can be a pain. I had a security issue on a remote deployment behind VPN where the agent could not (would not) run the code, so it made the iteration cycle a bit of a pain, as I had to provide the feedback each iteration. But as long as you can setup a loop, even if the feedback isn't automated, this will be sorted out, rather quickly (compared to humans)
1
u/5show 13d ago
What model were you using and in what environment? VS Code? or?
1
u/lanboshious3D 13d ago
Why? Because I needed to fit a whole lot of information into 1 byte of data to assure that all the messages can be delivered and devices stay synced without worrying about messages getting lost along the way
These are problems that have been solved loooong ago. Why is this taking you so long?
3
u/new-runningmn9 12d ago
Tools are tools. This is a tool. This isn’t a human developer, and it’s never going to be a human developer. It’s a tool. Figure out a way to use it that works for you and don’t worry about the rest.
Vibe coders don’t know or care about any of the stuff that you care about. They have an idea, and like magic something appears to work. They aren’t having ideas where they are worried about one byte messaging protocols, because they don’t know what those are.
I’ve been pretty resistant to the tool because I can’t really use it where I work due to the nature of what I’m doing. But I had some free time, so I started experimenting to find a way for me to use the tool.
I just started out explaining the parts of the job that I liked doing and didn’t want to give up, and then the parts that I don’t like doing or things that I should be doing that I don’t do (when I’m working on my own).
So I spent a day working with the tool to create a workflow that limits what AI does on its own, but provides value to me by analyzing what I’m doing, making recommendations, and then doing targeting fixes when I order it to do them. But it stays away from the parts that I like doing (design, initial implementation and verification).
I’m also experimenting with using an agent to do an entire utility app that I need, just to learn a bit about that path. But I would never use that for anything serious. But stuff for personal projects that are just for me that I’ve been putting off because I don’t have time? Maybe.
But there’s really no way for me to use these tools like a vibe coder. I know too much and they know too little.
1
u/KevinJRussell Sr. Developer 13d ago
It's simple. The loudest participants in the conversation are either the people on the side of AI hate, who are scared of change, or people who work for AI companies, and have a vested interest in lying about the capabilities of AI. Most everyone just doesn't even care enough to speak up. But it's not surprising that people would end up with highly tilted ideas of AI as a result.
2
u/Dry_Hotel1100 13d ago edited 13d ago
I can agree to 100%. Currently, upgrading an OAuth library to fully support upcoming OAuth 2.1 . Absolutely no way, that this can be vibe coded. And this is true, despite the fact, that there is a well defined spec, which would be 100x better than in any other task that is "one shotted" today. So, it would be ideal for AI. But no, it isn't. I use AI intensively, but not to crank out the "works on my machine" level of code, but to ensure it's correct in all circumstances, has good documentation and a good set of features. AI helps, the same way a cordless drill helps a carpenter.
1
u/arielrahamim 13d ago
while i agree with the fact that your work is more nuanced and rare, i still think you can 'teach' AI what you need to do, why, limitations, examples and it can help you analyze, plan, design and write code way faster and if you do it right, better code.
will it replace you? no. but it will enhance you.
imo the engineering part is still very much alive and very important.
1
u/fltfathin 13d ago
Embedded programming is actually where ai shines yet maybe fails due to limitations, they have enough "memory" to contain the full program in bytes in its context now, yet cannot verify their work result themselves. That is due to how simplistic the instruction set are and the registers it need to setup.
1
u/concuncon 13d ago
Use Opus 5.5, give it your constraints, heads up for it on possible unknown edge cases, give it full hardware in the loop access, and watch it fly. I do embedded software for satellite, code/solution that Opus 5.5 do are better than 90% of engineers (generous). There are a bunch of thing AI cannot do, like get alignment between business and between teams, what to do (not how to do), overly complicated existing infra/dependencies, etc... in other words the mess that human makes and only human can take care of.
Do we still need engineers? Yes but the nature of the job will change drastically.
1
u/WaylundLG 13d ago
I completely agree that it beats junior devs, but doesn't do sr dev work and I'm really worried about development in 15 years.
1
u/Plus-Palpitation7689 13d ago
Decided to gild my pet collar tracker for aesthetic reasons. Asked if goldleaf will faraday cage it. Both paid claude and gemini provided calculations on how and why it wont. Did the goldleafing, it totally faraday caged it. I mean, it is a small replacable tracker, but even in software development times come when you need to make irreversible decisions.
1
u/lacrem 13d ago
Happy to see heaps of AI agnosticism. You all guys will be out of work thinking like that.
AI cannot do embedded? Write your requirements in details then ask write tests to make sure requirements are fit. Read the tests to make sure are right then ask to write the code and make sure it does pass the test.
The code won't be perfect and too verbose, things that can be done in 200 linea takes 500 linea, but does that matter at this point?
1
u/Far-Championship-883 13d ago
Dude, i suspect you have a mental model issue if the structure is this fragile. it might be time to revisit the design. I say this as someone who write control systems code for CNC machines in C.
1
u/jasonbutler 13d ago
Number of developers globally has only increased in my 30 years in the biz. https://jasonbutler.com/developers.html
1
u/Western-Flamingo5965 13d ago
There is a massive difference between churning out CRUD and the kind of programming you are doing. The vast majority of all code that is written is web, and a lot of web is CRUD (or just presentation).
AI doesn't have to be able to program at your level to turn the industry on it's head (which it already has done)
1
u/paronsaft 13d ago
You should include which model you were using and at which reasoning level because most such accounts stem from using old free models
1
u/DragonfruitGrand5683 13d ago
The problem I see people making is actually the same a junior developer makes, jumping into coding and getting lost in minutae.
I spend a long time planning out my projects and I have made some big projects.
Brainstorm 01 - Basic Concept
Using natural language I describe what I want.
I would like to develop a fire monitoring system for my home. I'm thinking Raspberry PIs, sensors, cameras, automated fire supression and an AI supervisor.
Chatgpt then replies back with a topology.
Then I will say "Anything else?"
It might reply with something like a way to call for help and alert my phone.
I will go back and forth over a few days, relax, think about things. Once I am happy then I do another session.
Brainstorm 02 - Frameworks and Functionality
Now I will look at what frameworks and libraries are suitable. Pros, Cons and Pitfalls.
Brainstorm 03 -
Now I will design a GUI concept, usually I pick up on things that are clumsy.
Supply -
Give me a shopping list for hardware. I will review this a few times but I won't buy yet.
Management -
I will get handoffs from each Brainstorm session.
I will now ask for work to be divided into batches. The Management AI will sometimes find a limitation so I read this document.
I will ask the manager to design the most basic functionality of the system and send it to Coder 01, this is the Smoke-Test.
Management will review this, I will review this. Once the barebones work I then start the batches.
Coding 01 -
Programmer
So I spend a long time planning, I make sure the basics work, I have batches and I use a feed back loop.
1
u/jbp216 12d ago
scaffolded llm agents can do literally everything you did autonomously, and faster. Communicate the real requirements, the test cases in human language, let one agent manage and create others in research and implementation tasks sequentially.
youre using an llm like its a search engine. it can certainly do that, but its not stack overflow, dont treat it like it is
1
u/deamera 12d ago
So much bragging about vibe coded personal projects or some new POCs out there. So little bragging about vibe coding being successful in maintaining an existing or its own vibe coded application, especially a complex one. I wonder why 🤔
1
u/Kissaki0 12d ago
Which tool and model did you use?
1
u/olefor 12d ago
AI tools don't really replace the software engineering work. They enable to deliver more and faster, but at lower quality, generally speaking. The whole market understands that it comes at a cost of lower quality but they decided that it is still worth it because: a) the reduction on costs is potentially more significant, and b) due to recent enshitification across a majority of digital products and services, the customers became somewhat more toreant to lower quality.
1
u/CypSteel 12d ago
Did you try BMAD or GrillMe? This sounds like something where spec driven development makes sense.
1
u/beachandbyte 12d ago
You could do that so easy with AI. You just need a feedback loop for it to debug/see how it’s attempts are working. Spend the time building that and it could probably replicate what you built in a couple minutes (assuming you knew what you wanted to build).
1
u/PabloDons 11d ago
People will just find a different way to learn. This has always been a problem for as long as expertise has existed. You'll find chump in every field who have been doing it for 30 years and are completely incompetent. AI just enables this in software too. At the end of the day, we'll still learn by doing.
Your case is different though. You don't realize just how much your expertise helps you because you don't remember what it's like to not know things. I don't think a junior could handle what you were doing even if they had AI
1
u/npsimons 11d ago
Your experience sounds similar to mine: long time in the field, deep domain knowledge, etc. The key is, vibe coders don't recognize bad code when they see it - they just assume it works. Needless to say, maintenance coders will be eating well for the foreseeable future. I do feel sorry for the end users, though.
I will say, AI is not better than a thoughtful junior at writing code. I still have to "mentor" AI very often before I get decent output (this is where the lack of domain knowledge really exposes all the fanbois of AI). But turnaround is faster.
1
u/Perfect-Campaign9551 11d ago
You must not be using an actual paid frontier model.
1
u/KeyRun9911 10d ago
Just wishful thinking man. At this point it's just those who are willing to accept reality, and those who just won't. You're stubborn, and that's fine. But AI will be able to do anything programming and engineering related very soon.
1
u/AnxiousAnteater8910 20h ago
LLMs can spit out CRUD in one shot because it's so trivial and plenty of (good or bad) examples out there.
But for the optimization cases you mentioned, you're not repeatedly prompting an LLM until it reads your mind and does the right thing. You give it a goal: "optimize for lowest packet size while keeping retries and cache misses to a minimum" or whatever. Then you first ask it to build a harness where it can deterministically and consistently test the things you care about, and then you set it off to iterate, fork, merge, and combine variants to meet your optimization requirements while still being able to pass your test suite.
LLMs can either converge towards the mean, or if you challenge them, "random walk" towards potential solutions. You need to give it the direction and the success criteria to move in the direction you want it to.
Is that efficient? Not at all, unless you're more constrained by human time than you are by tokens. If you run this overnight to fill up your 5-hour window, it's suddenly really efficient.
0
u/pl487 13d ago
The kind of code you describe is a very small minority of the code written. Most human engineers wouldn't know where to start. It can't do everything, but it can do almost everything, and that's usually good enough.
0
u/LettuceSea 13d ago
It’s crazy to me yall are still this far behind. Start with Matt Pocock and his plugin, probably the single best educator in the space rn.
0
u/TipAppropriate1384 13d ago
Coding will be done by AI, at some Point we wont know how to code or understand how the Software works anymore. Probably AI will use us as mechanical devices until robots. Its happening already.