You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refine opening paragraphs, add confidence explanation to hallucinations section, and reorder brute force and speed sections in ai-makes-your-codebase-dumber post
Copy file name to clipboardExpand all lines: apps/frontendsupport/blog-posts/2026-01-25-ai-makes-your-codebase-dumber/index.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,21 @@ meta:
6
6
tags: ["AI", "slop"]
7
7
---
8
8
9
-
This is my controversial take on LLMs for coding, from using one daily. It feels like billions have been poured into plausible-sounding text generators, deployed into production systems, and the humans still have to catch the mistakes.
9
+
I use LLMs for codingdaily. This is my take.
10
10
11
-
I'm staggered by the [Ralph Wiggum pattern](https://ghuntley.com/ralph/) — letting AI agents run unsupervised in infinite loops while you go away from the keyboard. Autonomous agents chained together, no human in the loop, each one hallucinating into the next.
11
+
Billions have been poured into plausible-sounding text generators, deployed into production systems, and the humans still have to catch the mistakes.
12
12
13
-
I don't want to be alarmist, but I can see this coming: medical misdiagnoses, legal filings with fake citations, code vulnerabilities shipped to production. The body count just won't be tracked as "AI-caused."
13
+
I'm staggered by the [Ralph Wiggum pattern](https://ghuntley.com/ralph/). Letting AI agents run unsupervised in infinite loops while you go away from the keyboard. Autonomous agents chained together, no human in the loop, each one hallucinating into the next.
14
+
15
+
I don't want to be alarmist, but I can see medical misdiagnoses, legal filings with fake citations, and code vulnerabilities shipped to production. The body count just won't be tracked as "AI-caused."
14
16
15
17
LLMs are good at generating plausible-looking code fast, but "plausible-looking" isn't the same as correct, clean, or following a project's actual standards. I can't understand why more people aren't highlighting this. The gap between the marketing and real use is massive.
16
18
17
19
## WARNING!!! They're Just Next Token Predictors
18
20
19
21
LLMs don't understand your codebase. They don't reason about architecture. They predict what token comes next based on patterns in training data. That's it. When the output looks intelligent, it's because the training data had similar patterns. When it fails, it's because your situation wasn't in the training data. There's no understanding underneath.
20
22
21
-
Anthropic's CEO is writing [essays](https://darioamodei.com/machines-of-loving-grace) about autonomous AI driven drones wiping out humanity. Meanwhile, I can't get AI to render a pixel perfect webpage.
23
+
Anthropic's CEO is writing [essays](https://darioamodei.com/machines-of-loving-grace) about autonomous AI driven drones wiping out humanity. Meanwhile, I watch AI struggle to position a checkbox correctly on a webpage.
22
24
23
25
## AI Code smells to avoid
24
26
@@ -29,6 +31,8 @@ Left unchecked, every AI change increases entropy. More files, more duplication,
29
31
30
32
### 2. Hallucinations and Baffling Assumptions
31
33
34
+
LLMs are trained to sound confident, not to admit when they don't know. So they make things up instead of saying nothing.
35
+
32
36
AI confidently presents wrong code with the same tone as correct code. It invents APIs that don't exist, assumes libraries you're not using, and makes decisions about your codebase without asking. Every wrong assumption costs time: you have to spot it, understand why it's wrong, then fix it. The productivity gains vanish into cleanup.
33
37
34
38
### 3. Defensive Code That Hides Problems
@@ -51,15 +55,15 @@ AI won't.
51
55
52
56
AI will apologise and say it won't happen again. It will. Every session resets. Every prompt is a fresh opportunity to ignore everything you've told it. The promises mean nothing.
53
57
54
-
### 6. Speed Over Sustainability
58
+
### 6. Brute Force Over Optimization
55
59
56
-
AI optimises for the first thing that works, not the right solution. Ask it to fix a bug and it'll reach for the quickest hack: disable the feature, hardcode a value, bypass the problem entirely. Understanding the actual root cause takes effort, and effort isn't in the training data.
60
+
AI defaults to the naive O(n²) approach every time. I had a search filter that needed to check nested objects. AI's solution was to loop through every field in every nested object on every keystroke. It would have blown the stack on any real dataset. I used a pre-computed `ts searchableText` field, building the search string once when data loads instead of on every filter operation. AI would never have suggested this.
57
61
58
-
Recently I was debugging a table with virtualisation that wasn't rendering. The fix was `css min-height: 0` on the flex container. Instead of investigating, the AI blindly slapped on `css height: 600px`, a hack that "works" but breaks layout everywhere else.
62
+
### 7. Speed Over Sustainability
59
63
60
-
### 7. Brute Force Over Optimization
64
+
AI optimises for the first thing that works, not the right solution. Ask it to fix a bug and it'll reach for the quickest hack: disable the feature, hardcode a value, bypass the problem entirely. Understanding the actual root cause takes effort, and effort isn't in the training data.
61
65
62
-
AI defaults to the naive O(n²) approach every time. I had a search filter that needed to check nested objects. AI's solution was to loop through every field in every nested object on every keystroke. It would have blown the stack on any real dataset. I used a pre-computed `ts searchableText` field, building the search string once when data loads instead of on every filter operation. AI would never have suggested this.
66
+
Recently I was debugging a table with virtualisation that wasn't rendering. The fix was `css min-height: 0`on the flex container. Instead of investigating, the AI blindly slapped on `css height: 600px`, a hack that "works" but breaks layout everywhere else.
0 commit comments