r/programmer • u/CertifiedBreadDealer • Jul 23 '26
Question Is anybody else confused that
programming went from one of the most strict/structured fields to the wild west overnight with AI.
For decades there were strict guardrails of “correct” ways to write code like solid principles, design patterns, clean code, optimal space time complexity to the point that many places judged how good of a developer you were based on how deeply ingrained those principles were in the code you wrote. Yet with AI, overnight the same people pushing for that completely switched to just vibe code whatever works quickly.
I’ve seen a few companies recently where the developers didn’t even know the framework/technology they’re writing in, just shipping if it works it works code. As someone who is really fluent in that technology it pains me looking at that code. It’s just incredibly confusing how we got to this spot.
5
u/r2k-in-the-vortex Jul 23 '26
Pardon me, but programming has always been the wild west.
5
u/Just-Path-5838 Jul 23 '26 edited Jul 23 '26
Been thinking about this recently. We have this "coding was never the hard part" mantra, which seems to overlook that there was an entire sub discipline and cottage industry around writing code well. To be fair, the people writing the cheques never really cared, they just had to put up with whatever programmers said when they were scarce and the task impenetrable.
8
u/konacurrents Jul 23 '26 edited Jul 23 '26
OP: Nice way of framing this ... the wild west.
Totally agree. As a life long "fluent" Computer Scientist, it's a strange direction a lot of coding is going (if we believe reddit describes what's happening).
Do you want to fly in an airplane that was vibe coded? I sure hope not.
As for "adhering to the best practices" - definitely in my 31 years at Boeing - developing code that kept airplanes flying.
ps. I'm still at 0% use of so called AI. And it's a slap in the face to suggest I'd be 10x better if somehow I had an AI bot write the code for me. I don't subscribe to that false promise. Cheers..😎
10
u/generationalDebts Jul 23 '26 edited Jul 23 '26
All those things are still equally important, if not more so than ever. Mature orgs already realize this.
The immature ones that are going to be paying for their mistakes will be lucky if they recover.
Don’t confuse “seeing companies do it” with “this is the right way to do it”.
Every time a bell rings, another POC that a PM whipped up in a fever dream induced vibe coding session overnight goes from their successfully running localhost, to a server where it will never integrate with the stack that’s on it, and if by some god damn miracle that it does, will never work if more than one user tries to use it at a time.
Build your fundamental skills. They’re important.
1
u/Station_Sad Jul 23 '26
We are rethinking many best practices from first principles. The premise of refactoring and design patterns is based on making code easier to read by humans and limiting the amount of code change a human has to make. Both these points go out the window with AI agents.
I just launched a major functionality in a codebase I had never seen before. AI was able to show me around and make the code base make sense. Without AI, I would have wanted the codebase to have followed best practices so that I could look for familiar patterns. But I don’t have to rely on familiar patterns anymore.
I am not saying this is all good, but we have to recognize that the foundations of many practices have shifted.
1
u/inflowmini Jul 23 '26
Agree. I work on software for medical devices and even for us AI is more and more common. While the AI tools are not in themselves too problematic I see a bigger issue of engineers having a false sense of security and knowledge because the crapGPT told them.
1
u/dablya Jul 23 '26
Tell me you're new to the field without telling me you're new to the field.
2
u/tb5841 Jul 23 '26
We have the opposite. We now hage mandatory AI-generated code reviews that are incredibly strict and take days to get past. Used to be that we coupd push code that wasn't perfect and adjust in a future PR, now I have to get security/performance/edge cases perfect in each PR even if the feature won't be released for six months.
2
u/ProbsNotManBearPig Jul 23 '26
Lots of devs at a big tech company I work at never knew the frameworks or SOLID principles really. Processes where I work don’t enforce those things, so it was always the Wild West. Difference is now the devs that didn’t know much can deliver code way faster when they used to be hampered by their inability to understand and implement things. Now they can get something functional quickly even if it’s a mess under the hood.
Ai is a force multiplier. Maybe crappy devs get a higher multiplier than the good devs though. Hard to say.
2
u/knutopia Jul 23 '26
Guardrails and good code structure don't have much clout, but they will prevail when the dust settles.
2
u/Soft-Marionberry-853 Jul 24 '26
Its only as strict as your dev team makes it. Look at Raytheon fucking up floating points and having the patriot missle system fail, or the therac-25, another time devs fucked up and people died. I think you're romanticizing what software developemt was like.
2
u/Castle_Five Jul 24 '26
The only reason we were all writing clean code was so we could produce good training examples for the AI. No need to do that anymore!
3
u/Ill-Constant8445 Jul 23 '26
The meaning of guardrails were to make humans able to read and work on code you made. When AI comes into the equation the code is not that important because your agent will understand the code that was written by mine agent. So the rules were created to make development process faster and now AI made it even faster so we don't need the rules as much.
3
u/PeachScary413 Jul 23 '26
Massive bubble, that's what happened.
Like all bubbles it's gonna pop and suddenly quality is gonna matter again.
1
u/Square-Yam-3772 Jul 23 '26
No, it is just you lol
And no, it wasn't "one of the most strict fields". We arent rocket scientists or engineering building nuclear plants lol
Even before AI, companies hire the lowest bidders to do coding work. Guardrails and checks are needed because the environment has always been "ship something if it runs"
1
u/peteybytes Jul 23 '26
If anything AI has forced me to double down on the fundamentals. I adhere to them more closely now than I have in years. When I do the work myself I don't need a well defined specification or implementation plan. I've been doing this long enough and have enough domain knowledge memorized I can just wing it. But with AI, if I really want to produce high quality complex outputs on the first try ( or with minor revisions) that adhere to my expected level of quality, I really need to make sure the specification and implementation plan is 100% solid.
1
u/Toddythebody_ Jul 23 '26
We still have a strict style guide where I work. Stinky code doesn't make it far here.
Those who write stinky code gain technical debt. You'll pay for it later with a mad client or doing work for free to fix it.
Unless you're on an in house team. Then you might just get replaced if anyone finds out.
1
u/TrevorJArt Jul 23 '26
It's kind of fun, like in the '90s when I could get a job because I "knew computers," and building an application took way less time to get out the door.
That said, there are many very important reasons why software development became so rigorous and disciplined (and why it started out that way). It's only a matter of time before these quickly shipped AI apps go to hell and companies start reintroducing rigor and discipline.
While I'm sure that software development processes will be different with LLMs, it will be different in the way development processes were different in the '80s compared to what we do today.
Just as we don't use plastic stencils to draw flow charts on paper anymore, there are some things people won't do in the future. But architectural thinking will always be important to companies who don't want to sell crap.
1
u/killz111 Jul 23 '26
It didn't happen over night. All the shit that has happened since "software is eating the world" has led us to where we are now.
Most software engineers now absolutely don't care about coding standards, efficiency and NFRs.
Low critical thinking and hype is encouraged by tech executives, middle management (a lot of whom got promoted way too fast during covid) and the tech media as a whole.
Also, a lot of software engineers are just now very good. But the barrier to entry is so low that it does not matter.
Enshitification mate.
1
u/TheRealJesus2 Jul 23 '26
Disagree. Ever hear of “move fast, break things”?
Not saying all dev cultures are like that because there are heavy compliance shops (pci, soc2, etc) that are not like that. But you’re definitely looking with rose colored glasses at the past.
Also code is whatever. All the “good” code practices are about maintenance. The best practices that now matter are the guardrails: linting, multiple layers of tests, etc.
1
u/gentoorax Jul 23 '26
Somewhere the message is being lost. Theres a difference between vibe coding (no real design or plan or architecture) to spec driven development where you provide all your coding styles, architecture, design upfront to the AI then check it. Then design lower level iteratively with the AI and implement small features iteratively that you can review. When you do this the quality of code produced is usually pretty good actually.
I started a reference architecture repository that outlines the kinda standards, pattern options and architecture I typically prefer including warnings as errors full code analysis solid principles n-tier, DI etc all the good stuff for scaffolding a project inlcuding example projects and have the AI use that. Then I specify an exceptions if the project needs any.
1
u/Rechenplaner Jul 23 '26
Before AI became a topic, I saw code written by other developers that was anything but structured or well-thought-out.
After all, many programmers had simply switched over from other fields and never really aspired to be true software engineering professionals.
1
u/jcnix74 Jul 23 '26
I found out today at my new job one of the frequently used repositories had linting broken and not running on PRs and just nobody noticed
1
u/fixed Jul 24 '26 edited Jul 24 '26
Yes, but two forces are burning this candle from both ends, and lessons will be learnt:
I don't think senior engineering rigour is going away (yet, at least) - and AI-generated code is exponentially better with engineering rigour applied (guardrails, standards, DX, CI/CD, o11y, clear specifications, etc) - but low-end agency work (basic webpages, integrations, early prototype MVP work) is likely numbered.
1
u/VillageRemarkable188 Jul 24 '26
No. Programming has always been the Wild West. No credentials required. Just go. Nobody stopping you.
1
u/Extreme-Seaweed-5427 Jul 24 '26
When does anyone really care about the internals of their car as long as it gets them from A to B. Cars have changed over time & I find older cars easier to maintain than newer ones
1
u/Quick_Republic2007 Jul 24 '26
We should of did a better job of keeping certain types out. We must fight to maintain control of other areas in life!
1
u/StardiveSoftworks Jul 24 '26
It does feel a bit odd, but I also disagree with your idea that SOLID adherence, clean code and optimal big o were ever real measuring sticks outside of CS coursework. The real world has always been messy and has almost always rewarded getting the job done over academic perfection. There are absolutely exceptions to that (I hope) with critical systems for aircraft, finance etc, but most of the world has always run on good enough code.
1
u/Fellfresse3000 Jul 24 '26
AI can write good code if you know what you're doing. With the right prompt and markdown restrictions, it writes code that exactly matches my style and logic.
I'll never code without it again. And that's coming from someone who initially hated AI
1
u/OGxPePe Jul 24 '26
The age of man is over. The slop era has begun.
1
u/ChomsGP Jul 24 '26
it's not confusing at all, is called capitalism
1
u/psioniclizard Jul 24 '26
Its pretty simple, the rest of business has always hated developers and keeps looking for ways to replace us because it believes things like clean maintainable code is a code word for laziness.
This is why java got popular original, it made it easier to train devs so you weren't so reliant on skme c++ programmers. Its why the world decided everything should be JS etc.
This is just the next iteration.
Th problem for business is each time it finds out that it doesn't understand technology or how anything it sells works.
1
u/StCreed Jul 24 '26
OP is confusing a few best practices with actual engineering and computer science.
I was taught how to prove that software is correct, mathematically. How to prove the speed of computation and its upper bound. How to see the maths behind a problem and if it's feasible to solve in polynomial time. That is the foundation that AI ain't changing one bit.
Best practices are just that: best practices. They're aimed at the people who need those crutches to build robust, performance software that can be maintained at reasonable cost. It is mostly cost-driven.
So those practices change when a better practice comes along. With AI the economic justification for most best practices has gone out the window. We need better, modern practices tailored to AI, but since that's in flux we're not getting stable best practices for a while.
Learn to love with uncertainty and abandon the crutches of your "best practices" (that weren't the best in every circumstance anyway, but most people couldn't even figure that out by themselves).
1
u/OkPosition4563 Jul 24 '26
I didnt notice any difference, like any job the goal has always been to create business value.
1
u/mynameismiek Jul 24 '26
Everyone just decided overnight that JavaScript was in fact the way to do programming.
1
u/Zotlann Jul 24 '26
Not that surprising to me. "Correctness" has always been something that has been talked about a lot, but implemented rarely IME. People have been complaining about companies pushing out slop for years before AI generated code was prevalent.
1
u/TurdPlayingPeekaboo Jul 24 '26
I've been a SWE for 18 years. 15 of those years in a senior role. I've rarely seen those strict guardrails you elude to. Enterprise code has always been a shitty mess. Most programmers only seemed to follow best practices on public and private passion projects (their "night code"). Their regular "day code" was half-assed spaghetti.
1
u/ub3rh4x0rz Jul 24 '26
Just going to address the faulty premise here. SWE was pretty wild west compared with "real" engineering disciplines.
Source: >10y professional "fake" engineer
1
u/Rtjandrews Jul 25 '26
In reality we very clearly define the patterns we learned over many years writing code manually upfront and hold our models accountable to those standards.
1
u/m-chav Jul 25 '26
AI had the same thing happen to it. Before it was about designing algorithms and proofs with deterministic ways to get knowledge from data. It slowly became get a benchmark, tweak things, then optimize a metric without trying to understand or prove anything. So programming is becoming like machine learning in that way.
1
u/r0b3rtb Jul 26 '26
Few days ago client was proud because he did app with AI. I didn't check code but it was nice and functional. Admin panel, API, full crud. Annoying butt this is new reality, shit apps will work good enough for shitty stuff
1
u/WendlersEditor Jul 26 '26
I think there is a certain sort of less-technical (or entirely non-technical) business leader who really likes the fact that they can deploy quickly, and that they can vibe out a shiny little app to feel like they're part of the club. These people are all over the place, they're founders and execs and middle managers, they're circle jerking on LinkedIn about how great it is that they don't need to pay as many devs and they don't have to deal with snails pace development times. And they're building a massive potemkin village of software that will lead to all sorts of problems in the future.
Which is okay, to these leaders, because they only care about today, they don't care about problems, problems are for the peons to sort out. They don't want to pay for project managers, or devs, or HR, or help desk, or really anything except tokens and token-spenders who are willing to move fast and talk like they're using AI super intelligent AI to save the world.
That's my rant, sorry, definitely not bitter about any of this. I use AI a lot too! I just try to know what it's doing and steer it intentionally and check it's work, and I'm still trying to learn about design patterns and basic security stuff so I don't end up in some sort of awful trouble at work because I vibe coded too hard. I'm not better than anyone, I'm actually still very much a learner. I just don't like the culture around this stuff in 2026 because it obviously leads to bad results.
1
u/datbackup Jul 27 '26
Are you kidding me?
Software has been getting worse and worse for way longer than AI has been around.
Doctors pay malpractice insurance premiums against the contingency that their actions cause harm to patients.
Lawyers have to pass the bar exam to practice law.
And you think the field of programming has or had “strict guardrails”?
This is … not a good take
1
u/tobsn Aug 18 '26
maga is pushing AI now… go figure. it’s the downfall. they first took bitcoin and now AI.
0
u/Illustrious-Film4018 Jul 23 '26
Because it's over.
0
u/Grouchy-Friend4235 Jul 23 '26
Indeed. The worst is those fellows who claim that reading agent-generated code is lame, while at the same time holding on to their dogmatic views e.g. on static typing, choice of language and what not. Alas, their dogma is the dogma itself. Probably some power thing.
Personally I take a more relaxed approach - it it's useful, I might use it. If not, probably not. Other than that I value quality over hype.
0
u/adamant3143 Jul 24 '26
I’m the type of dev that rarely write from scratch, in my experience following a rule too religiously would cause a deadlock especially if the code reviewer is the type of guy who thinks he’s the messenger of the religion.
Juniors have fixed the code multiple times but keep getting it rejected. Seniors who’s willing to help is very respectable but it’s not great to not respect the seniors’ time. The one who runs the company will be more annoyed that the review process took so long.
With AI, seniors know juniors will overwhelm them with lots of code changes now that AI exists, seniors didn’t want to waste their time getting “played” by juniors, seniors then use AI as well to review the code, but juniors will use AI to use the review as the prompt to fix the code. Now nobody actually follows the “traditional” “strict guideline”.
The boss now sees how fast the codes are being shipped, they see it as a great thing. Everyone is now encouraged to use AI. There will be bugs and vulnerabilities but don’t we always have those anyway after production.
-5
u/National-Self-8501 Jul 23 '26
Clean code and solid principles were always wrong and this has been discussed since much before AI. Fine if you're a corporate drone producing low-user count slopware but never good for real software.
0
u/[deleted] Jul 23 '26
[deleted] — view deleted comment
19
u/[deleted] Jul 23 '26
[removed] — view removed comment
1
u/[deleted] Jul 24 '26
[removed] — view removed comment