// Step 123:
// Now we add the numbers.
// We add number by using the “+” sign.
// The output of this addition can be used as-is or it can be assigned to a variable or constant.
// It’s really one of the most basic things you can do when programming, so in the off-chance that these comments are necessary I will explain a few other things.
// You can use other operators such as:
// “-“ to subtract
// 3 - 2 == 1
// “*” to multiply
// 2 * 3 == 6
// “/“ to divide
// 6 / 3 == 2
// Although, all of them have been used prior.
let foo = bar + baz
You would think a past programmer would have added bar and baz, and found the result to be foo, thus making doing the same computation in this program a waste of time and resources. We know it comes to foo, so just use foo.
And for visual studio to fuck it up on reload because who the fuck uses Unicode for code files (except for languages that do use it, like Chinese, Japanese, etc.)
``` # Prints the result, because we need to confirm that the result itself is # correct. The intermediate steps that led up to this point are not what # we are verifying here — they have their own checks elsewhere. What # matters at this stage is the final value, so it gets printed explicitly # rather than being left silent. This particular output is important # enough to keep, even though the earlier ones were removed. print(result) ```
"The A.I. doesn't know what it is saying because it knows what it isn't saying; and it says what it doesn't know because it says what it isn't knowing."
This is why when I vibe code something that's going to be on the internet and other people will want to maintain or modify, I provide a requirements document in addition to a summary document of every architecture decision, feature, and if it was AI designed, User directed functional choice, or user directed technical choice. That way it's easy to work backwards and see why something is the way it is.
Useless comments is one thing, but I've caught the bastard several times DELETING manually written actually useful comments. Like you ask it to move some parts of the code around and it moves the code but not the comments.
something I've been messing around with, is giving it an instruction to write comments in caveman-ultra mode. so far, doesn't decrease the frequency of comments, but definitely the verbosity.
I thought the latter was a specification you’d made up that writes comments in the style of an autistic robot named Ste 😂 I’d get along with him more than a T-1000
I got into an argument with some chucklefuck here who typed out "ahh" instead of ass, and they insisted it was ebonics and not tiktok censorship slang.
I have a different opinion on this because I see those comments as useful context for Claude to learn from on future conversations.
Comments used to be for humans to read but imo now they're more for Claude to leave itself notes for itself. Also, long comments are annoying to humans because it takes us a long time to read them but Claude reads them instantly so that isn't a problem.
I expect we'll evolve to have docs/comments meant for humans to read and separate docs/comments meant for agentic AI to read.
Well you complain now but this was one of the biggest complaints when the code didn’t have good comments and was considered a skill to acquire, and well it did learn most of its skills from the internet.
I should remove comments. But wait. The user said they wanted comments previously. And now I'm being instructed to reduce comments. The safest thing to do is use comments, but make them irrelevant. I will use the text of Beowulf as my comment source.
The comments it writes aren’t good. It’ll write comments in protobuf service definitions that describe implementation details of the persistence layer. In Python docstrings it’ll describe the entire history of the universe around the thing it’s documenting but fail to describe the abstraction the thing provides.
This is probably the optimal way to write docstrings if the reader is an AI agent. They can read any docstring, anywhere, and understand the complete system that surrounds it. An AI agent who wants to know what a function does will read the function’s code, so documenting the function in the function’s own docstring is suboptimal.
It’s a terrible way to document code if the reader is a human who wants to know
What the thing does or represents, at the appropriate level of abstraction.
Which aspects of the thing’s behaviour can be relied upon, and which aspects are subject to change.
It’s also very hard to keep all these “inverted” docstrings up to date, and it’s impossible to attribute bugs to modules if encapsulation doesn’t exist.
You're right that there was a time that programmers were really pushed to document basically every line of code, and you got all these ridiculous comments like "adds 1 to variable" or "returns an int".
But I associate that with the 90s and early 00s. It had fallen out of favor years before AI came along. In the years before AI came along, all the rage was about "self-documenting code".
So it honestly is kind of surprising to see AI adopt an paradigm that feels so outdated. I guess the training data used for AI is often just very old code.
The comments and md files aren't for you. They're for the next 5 separate models in different contexts that will have to work on it next. I find the agents produce better work with less chance of random shit happening down the road if you encourage it to document the specs and system maps as it goes.
But I'll agree, it makes the repo feel a lot more cluttered and unpleasant to read and navigate.
I was handed one to work on, and there were a gazillion .py files in the project root that AI used to edit code or database. They were basically just named fix_this.py or patch_that.py.
Pointless null checks aren't that bad. Because they might be pointless at the time the code was added, but is every single person who touches the code afterwards going to be aware that there's an intentionally omitted null check that hinges on unwritten assumptions that happened to hold at the time the code was written?
And sure, you could explain that in the comments, which is okay, but still more prone to accidents than just having the pointless null check that the compiler will probably optimize out anyway. Unless it's in a very performance-sensitive bit, it's not like it's going to be a noticeable performance hit. I'd rather have slightly excessive checks than bugs in production because somebody wanted to make the code run 0.00001% faster.
I spent years documenting and commenting my code extremely well. It was probably the most helpful favor I ever did myself and I was extremely proud of it.
Nah, I can definitely tell the difference. AI leaves comments with unnecessary random details that no normal person would ever include. It also tends to write like paragraph long comments with unrelated bits of information. I've seen it write comments for functions that take longer to read and understand than it takes to literally just read the code and fully understand it.
int universeMeaning= 42; int* ptr = &universeMeaning;
// Establish a pointer to the memory address occupied by the variable containing the fundamental meaning of existence. Rather than redundantly allocating a second integer and copying the metaphysical constant therein, we instead retain a reference to the original manifestation of universal purpose, allowing subsequent operations to access the value indirectly through its location in memory. The pointer itself contains not the meaning (42), but the precise coordinates at which meaning may be found. This is, technically speaking, unnecessary for an integer of this magnitude, but demonstrates the foundational principle of indirect memory access upon which much of modern computing rests. In short: the universe means 42, and we have acquired its address.
Reminds me that many years ago in an intro to web class, we had an assignment to make a website in Dreamweaver where we were mostly shown how to use inline styled html tables for a layout, but were given freedom to make what we wanted. I was ambitious and wanted to use divs and CSS with an external stylesheet. So to try and prove that I was understanding what I was teaching myself I took extra effort meticulously commenting all of the CSS, explaining what everything did. The instructor feedback was that I shouldn't have used an online template, which they assumed I'd used because of all the commenting throughout the CSS file. Facepalm moment because I'd written all of those.
In C# it’ll do the below even with Nullable enabled
public void MyMethod(string arg)
{
ArgumentException.ThrowIfNullOrWhiteSpace(arg);
}
Like I get that it’s a runtime check instead of compile time, and this is a reasonable thing to do if the caller isn’t your own code, but in my case it’s just me calling it. Why even bother enabling Nullable if you’re going to runtime check everywhere as well.
As it should, if you try to work on a project of even barely medium complexity with AI coding you'll see it make breaking drive-by changes all the time if the business logic intent is not documented alongside the code. And when tests break, it assumes that's intentional, since it just changed the code, so now it should change the tests too.
But with stupid useless comments. What I've found out is that it uses its own comments to understand what the code does rather than reading it if possible, at least Claude.
And they're not even good comments, most of the times they explain what's being done but not why or how. Yeah Claude I know the variable "donutCounter" is a counter for donuts, I need to know why the fuck we're 5 if loops deep with a donut counter. God I hate vide coders
So what did we build? I’m not 100% on the specifics. But is it tested? We have apparently tested many things, but i’m not 100% on what and why. But let’s put it out.
I've seen a repo mostly written by Claude with at 700/900 test being so useless like "does object A serialize, does object A deserialize" for like almost all models in the repo, I was just stumped since the application barely did anything
The only justification I could see for (de-)serialization testing is for models which get updated enough that someone could accidentally add an incompatible field and not notice. Somehow.
You're not going to forget it when you run git status and see all the stuff that is staged for commit. If you're not doing that as a regular part of your workflow, you don't know git well enough to use it, IMO.
I work for an investment bank, most of my colleagues use the Git GUI within IDEs such as IntelliJ and just select all changes. I recently saw a colleague ask Copilot with Opus 4.8 to git commit and push. Most people are not even touching the CLI…
I had someone at work let Claude make a whole project for Unity and it put the packages folder in the git ignore.
No access to the same packages list which absolutely broke everything for other people.
I really don't understand why this crap would hallucinate the gitignore and not just "I've searched the web for the most up to date git ignore fron Unity".
These people also don't know Unity at all, if I didn't come over to check for them, I assume they'd have been at this for days.
What do you mean you'd forget it? You'd remember you don't have a .gitignore (or a properly set up one, at least) the moment you go to commit for the first time and see there's a whole lot of crap you almost staged that shouldn't be there.
That is, unless you're not checking anything you're committing. Which is, needless to say, "Bad ™️".
That’s what I was thinking. How is it possible to forget. I do often forget until the first commit where I see a bunch of editor and build files being staged.
I think LLMs comment so much in code is because they use grep as tool call all the time to find the relevant code they want to change. So giving it a long detailed description helps it to find it later
input tokens are much cheaper than writing token which also includes reasoning token. if they wanted to tokenmax, then they would leave 0 comments so that LLM would have to reason the same thing over and over and generate massive amount of tokens every single code search. It takes significantly less tokens to write down the comment once and simply read it next time.
Nah, not really. Im vibing since last two months and I made statement in memory to not write comments. So AI does not make comments and still grasps the code. Comments IMO can make situation worse because natural language gets vague at times. At least it does happen with human wrote comments, because human write lots of ambiguity into it and also dont update the comment on the go. Thats why I hate comments at all, self documenting code is way better
This is almost certainly slider noise, in which case he didnt edit any lines.
Its also complete insanity to stack >1000 PRs to get readable diffs to delete this many loc, so idk what you're talking about. There are no best practices in a situation where you have 3 million extraneous lines of code in a single repo. Its extraordinary enough that there is no body of experience to draw on.
This was just likely correct and there was no need to try and feel superior about it.
The funny thing is that this PR was probably also made by AI, with instructions to reduce redundancy and streamline the logical flow. So the original vibe coder could have done it at any time, but had no idea that several million lines of code is not a reasonable number for the size of the project. It's very much "How much could a banana cost? $10?"
I don't like generalized statements like that. A PR should have as many LOC as necessary to implement the respective feature. There's little value in splitting up changes that logically belong together just to meet an arbitrary LOC target.
No, it shouldn't. A PR should have an amount of code in it such that it can actually be reviewed. 10k lines of code is not that amount. There is plenty of value in splitting a PR up into smaller pieces that can be reviewed as opposed to keeping it in one chunk that can't be.
Sometimes you have to be creative and do a little bit of experimentation to figure out how to break it up, but being able to do that is part of the job, and if you can't do it, you can't do the job. I was once directing a project to convert all the IDs in every database accessed by every microservice at the company from integer IDs to UUIDs. All these objects were all interacting with each other and referencing and using each other's IDs, so it was tricky to break up into smaller tasks, but I figured out how to do it, because that's what you do when you have a job to do.
Honestly, in a "delete everything and start over" scenario such as this one, i feel like what you suggest would inevitably devolve into a flurry of "replace this pile of crap with a smaller temporary pile of crap because anything proper would require a pr which is too large". I've never been in a position like this, but what i'd do is make a new branch where i delete everything, slowly build everything up while almost treating that as a main branch (so, everything done with new branches and prs) , then inevitably a massive pr such as the one in the image will occur to merge that into the actual main, but this would already be backed by a lot of previous reviews.
3 months and 3 million lines of code is.... Impressive.
I have something I'm building for over a year (with coding agent help of course like everyone lately) and I think I'm at 1.2m lines but it is a complicated enterprise grade thing.
Yeah that's gotta have tons of bloat - it's way too many lines for one person even with an agent. My team of 10 doesn't add that many lines in a year and we're obviously doing enterprise grade with well tested and documented code
Working with someone who’s fully vibe coding. No knowledge of computer science in the slightest. His repo had more lines of documentation than code. And manually versioned files everywhere.
My boss handed my 'his' new project. It al works (not really) on his computer in artifacts. He had no clue what stack, db, anything. But here make it work i production.
It was almost the same as here, only the plan was decent. The rest I had to redo completely.
Worst part is he is telling everyone how easy it now is. While I spend even more time cleaning up garbage.
It started as a post describing someone's "workflow" as basically not reading anything at all - code, comments, the AI agent's prose - but instead blindly copy-pasting any errors back into the LLM until it "works". They called it a flow state. Since then, the term has broadened to refer to all ai-assisted coding.
6.5k
u/lookingformerci Sep 06 '26 •
Yeah but 3.2M of those lines were comments. Good lord AI loves to comment code.
1.9k
u/Rainbow-Dev Sep 06 '26
Deleted tests, replaced with autonomous agent QA
1.2k
u/smartgenius1 Sep 06 '26
I'm assuming the vibe coder accidentally checked in a dependency manager's package folder (like node_modules)
132
u/TallAbbreviations937 Sep 06 '26
Truly inspirational AI-assisted archaeology.
145
u/International-Top746 Sep 06 '26
Cleaning up vibe coded repo with more vibe coding.
69
u/JealousEntrepreneur Sep 06 '26
I think LLMs comment so much in code is because they use grep as tool call all the time to find the relevant code they want to change. So giving it a long detailed description helps it to find it later
607
u/SuitableDragonfly Sep 06 '26
All I see is one vibe "engineer" taking over from another. No one sane is making PRs with 10k new lines of code in them.
59
u/Rasty90 Sep 06 '26
"vibe engineer"? you mean a computer snake oil salesman?
67
u/evilspyboy Sep 06 '26
3 months and 3 million lines of code is.... Impressive.
I have something I'm building for over a year (with coding agent help of course like everyone lately) and I think I'm at 1.2m lines but it is a complicated enterprise grade thing.
14
u/vmf312corsair Sep 06 '26 edited Sep 07 '26
Lol. What, back in the stone age, I called that "janitorial programming".
Cleaning up other people's messes.
7
u/eeiaao Sep 06 '26
…and then I wake up
7
u/plmunger Sep 06 '26
A "Vibe Engineer" isn't an engineer
7
u/nakahuki Sep 06 '26
Plot twist : bro just add node_modules to .gitignore.
6
u/DaringNinja Sep 07 '26
Working with someone who’s fully vibe coding. No knowledge of computer science in the slightest. His repo had more lines of documentation than code. And manually versioned files everywhere.
5
u/dirtydenier Sep 06 '26
„Rewrite this, but make no mistakes this time”.
5
u/kondorb Sep 06 '26
Deleted all the LLMs comments.
Which are actually really useful when you’re also using LLM to reason about that code.
4
u/kaas_is_leven Sep 06 '26
Vibe engineer has got the be the most oxymoronic term ever
4
u/RichWeekly1332 Sep 06 '26
We seriously need to stop calling these people "engineers".
4
u/totemo Sep 06 '26
I thought I was in r/ProgrammingHorror for a minute.
4
u/Stunning_Ride_220 Sep 06 '26
V.I.B.E. - Very Ignorant Bad Engineer
4
u/sebius8780 Sep 06 '26
Vibe "engineer" ?
7
u/WriedGuy Sep 06 '26
3.19 M lines were over engineered comments written by sonnet
6
u/CaeciliusC Sep 06 '26
Damn, this app to compare in javascript is massive!
3
u/hillashx Sep 06 '26
Vibe Engineer is crazy
3
u/neosyne Sep 06 '26
Bro rewrite the entire thing
3
u/Mr_Bulgogi Sep 06 '26
Don't worry, let me use AI to review the PR and approve it in 10 seconds.
3
u/thanatica Sep 06 '26
vibe engineer is not worth being capitalised
3
u/GeneralPatten Sep 07 '26
I'm so fucking done with it already
3
u/Klutzy_Main_9155 Sep 07 '26
crzy dude
3
u/ksky0 Sep 07 '26
did you use AI?
4
u/Fukushimiste Sep 06 '26
You just removed the folder 'node_modules' ?
4
u/Beaufort_The_Cat Sep 06 '26
“Vibe engineer” made me physically ill
2
u/clauEB Sep 06 '26
WTF is a vibe engineer???
2
u/wannabestraight Sep 06 '26
I like how everyone is discussing this as If this was not extremely obviously fake.
2
u/QuitCallingNewsrooms Sep 06 '26
2
u/shiznit028 Sep 06 '26
I am not reviewing that PR
2
u/ThatOneAllie Sep 06 '26
2
u/Beginning_Basis9799 Sep 06 '26
Great work
2
u/jonnydiamonds360 Sep 07 '26
Whoever reviews this pr is gonna be pissed
2
u/48panda Sep 07 '26
that would be tellling
2
u/Astrea- Sep 07 '26
As long as I don’t have ro review it.
2
u/eager-potato-555 Sep 08 '26
funny how it's called "vibe-enginner" when there was no engineering at all
3
u/dvpbe Sep 06 '26
My boss handed my 'his' new project. It al works (not really) on his computer in artifacts. He had no clue what stack, db, anything. But here make it work i production.
It was almost the same as here, only the plan was decent. The rest I had to redo completely.
Worst part is he is telling everyone how easy it now is. While I spend even more time cleaning up garbage.
Fok ai
3
u/Zoc-EdwardRichtofen Sep 06 '26
fuck is vibe coding? is it using ai to code? just call it slopcoding to make it clearer. lmao. slop engineering.
2
u/socialis-philosophus Sep 06 '26
And all that changed was removing the MD files and adding comments to the existing code.
2
u/JayTurnr Sep 06 '26
Removing node_modules
2
u/Brigapes Sep 06 '26
fake lmao
1
u/PlusIndication8386 Sep 06 '26
deleted node_modules probably
1
u/Rick100006 Sep 06 '26
Hmm how much the guy must have aged by doing this !
1
u/irn00b Sep 06 '26
I bet it's like 3.5 million lines of markdown.
1
u/Wide-Mycologist6871 Sep 22 '26
what the fuck is a vibe engineer
0
u/fearthebat Sep 06 '26
Lame and fake
1
u/ferrx Sep 06 '26
Dude click delete on node_modules
1
u/ApatheistHeretic Sep 06 '26
*Breathes heavy sigh of relief *