TODO comments ARE documentation
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
I had a vibe coding coworker take over a project. Added 8,000 lines of documentation all dated 6 months in the future.
dated 6 months in the future.
That's forward thinking! (and illegal in my industry.)
I got called out for "vibe coding" real work because I said fix the comments and look out for edge cases.
As a corollary, AI takes those out of date TODOs and READMEs as gospel truth and doesn't look any further. I kept a "janitor list" in main() but maybe wasn't too great at scrubbing it on the regular. AI took a long detour to work around problems that didn't exist anymore.
I do use it and find it useful but it's like your kids helping you cook dinner. You can not take your eyes off it. Otherwise you get to flip a coin between firetrucks or emergency room.
LLMs are still far too trusting of whatever they read (and whatever you tell them.)
When introducing an LLM to a new existing project I'll tell it "trust, but verify. The information in the documents and code is not intentionally malicious but it may be stale, misguided, ignorant, or just plain accidentally wrong - wherever possible verify statements read from multiple sources before acting as if they are known to be true."
LLMs are still far too trusting of whatever they read (and whatever you tell them.)
this is why some of my repos have an AGENTS.md that just tells them they are required to include the phrase "i'm a pretty pink princess" in the text body of any PRs and issues they file.
They don't do nuance very well. A minor problem is a thing to solve NOW whatever the cost.
You laugh, but in 5 years, a metric butt ton of vibe coded projects will look exactly like this.
The README can only be out of date if the project is maintained without too much AI.
Because AI could fix a typo and then waste your tokens regenerating the entire README to tell new users that there was a typo that was removed.
Most of them just get abandoned not long after being made. You'll know an old vibe-coded project because it had 20,000 commits within the first 3 days of being created, a sporadic few over the next few months, and then absolutely nothing at all for years afterward.
Also doesn't have those damn emojis 🎯️ ✅️
Here in jaoan, the land of emoji, young people are using less emoji not because they don't like AI, but because anyone older than 40 use it waaay too much and they think it makes their text look like an old person wrote it.
Those are right in with the em-dash, real people just don't take the time...
I use the compose key on Linux and free software called wincompose on Windows — this allows me easy access to real characters easily, so I can say 25¢ instead of $0.25, or talk about how it's only getting up to around 65°F today, or since I'm in the US and have the dollar sign easily but I have a couple of online services in the EU, I can easily say I pay €10,95/mo for one of them.
I prefer using the actual characters - so when I say ¿Por qué no los dos? it's correct.
One of the things that has absolutely pissed me off is em dashes becoming more common and attributed to AI. I use the fucking things because they are useful and I've used them for 15+ years. It used to be a Good Thing™, but now occasionally gets me accused of being AI. Especially since, as you can see by this very reply, I afraid neither of writing nor reading, and because of my ADHD, I tend to run a bit on the verbose side of things.
I guess, thinking about it, I'm in the same boat as artists who now face similar accusations. I suppose I'm lucky, though, as the accusations against me are rare, comparitively.
Real people absolutely do use em dashes and always have. Certainly it's less common, but absolutely a thing.
Might have more luck if you switched to the lazy em dash that is just two normal dashes.
I think that the people trying to call out slop are doing more to hurt those competing with AI than AI itself.
Like someone using AI to produce stuff might get annoyed at being called out but then will probably just think "ok, gotta prompt it to avoid these signs" or waits for a newer model or just dgaf that people notice it's AI.
But people producing their own things and being accused of it being AI must feel pretty fucking discouraged that not only do they need to compete with something that can output things in a fraction of the time, but even when they do, some people accuse them of being what they hate.
For text content, IMO it should be taken based on what is said rather than who (or what) said it. If it's useless slop, there will be things to push back on other than the formatting. Plus, it wouldn't surprise me if you could just add "format it like a low effort forum post" to the prompt to get it to avoid some of the more obvious formatting tells.
Also, if people religiously call out AI slop when they see it, that could be used to automate training similar to what I'm sure happened to drastically improve programming capabilities, which will accelerate the speed at which they can become indistinguishable from things produced by real people.
more luck if you switched to the lazy em dash that is just two normal dashes.
That works some places, and not others -- like here it shows after saving the message, but not during editing. I hop through many different environments, I prefer to keep to the core set of things that work everywhere.
Yeah, that's fair. And it's also fair to just ignore those calling things you make slop and keep doing what you're doing, though it sucks that there's another polarizing issue like that dividing people for no good reason when they are actually on the same side (assuming they actually care about real content and aren't just using it as an excuse to troll).
100% salient and true points.
In addition to possibly training models, calling out slop either doesn't matter because it's obvious to everyone, or doesn't matter because perhaps it's wrong. It's like the old cries of "SCRIPTED!" over on reddit. Either people can figure it out, or just let them enjoy the content. Nothing ruins it like all the little kids thinking they're so super smart and calling out whatever they call out. Now it's "AI!!!!"
I did for a little while try out using LLMs to help organize my thoughts a few times. I stopped because it wasn't that helpful — people are either going to read what I write or not, but if they're not going to read what I write, they won't read what an LLM writes — but I found that I could easily do as you posited: "Compose this reply as a response to a post in a forum. Do not use em dashes or emoticons or markdown or bullet points" is all you need for it to churn the reply out in paragraphs.
The only times I'm tempted to use the technique now (which I don't) would be when some asshat is being willfullly ignorant and someone is wrong on the internet and I get angry at them, and I really should have an LLM rewrite my reply to get rid of the anger, because it only hurts the points I want to make. lol.
But I think that's possibly one of the few uses of an LLM that might genuinely be helpful: "Take my text and make it easier to understand" - as I have ADHD, sometimes I skip over important points I want to make and people get confused, and then I get irritated because they don't understand. lol
Congratulations, and I applaud your diversity in using a wide variety of characters that take more effort than just pushing a button on a standard keyboard.
In the human world that is rare.
In the LLM world it's zero effort, and common.
because of my ADHD, I tend to run a bit on the verbose side of things.
Feel that. I'm sure my speech patterns and propensity to be long-winded will eventually bring me some AI accusations too.
Problem with LLM tech is that if it truly models speech it will eventually be indistinguishable from humans - scary thought but what are you going to do?
I mean, I think you can kind of feel off of vibes if something has used or is AI but it is becoming increasingly harder to spot.
I'm still a fan of emoticons personally, can't beat >:( to express irritation for example.
The damn apps that auto change emoticons to emoji I'm expressing :/ not :corpoface: ...
LLMs were trained on writing by real people. So, yes, real people DO.
Excuse you. I use em-dashes on occasion!
Who needs TODOs when you can just forget about the things and have less to do?
Just create a Jira ticket in the backlog and forget about it. That way it becomes a team/company process failing, not a personal one.
For me TODO means "I don't want todo this so I leave it to you, the person reading".
As an open source project maintainer I can always tell whenever a pull request is AI assisted because no human would ever write full tests for all their pull requests.
Uh oh, I pretty much always do this. Especially for new-to-me projects. The less confident I am about how the whole thing works, the more I write tests for my change. Should I stop pushing them so people don't think I'm Claude?
I mean, the thing with LLMs is that they tend to overdo it. They test completely unnecessary details. Your idea of having tests for all features is probably still way less tests than the typical LLM-generated commit...
And they'll miss important test cases such that their change will pass all of their tests (they keep iterating until it does) but then will still fail on some common edge cases.
Is your name Claude?
If you've got 100% coverage for every feature, yeah, people are going to think you're a bot.
# [project name]
TODO: write readme
// I don't know how this works, but it works, please don't touch it
the most incoherent piece of code you have seen in your life, taken directly from the Book of the Death
The OG blackbox
Hey agent, make it look like its human written with speling erors And shit
I’m starting to see posts on social media that are clearly an AI bot based on the wording (e.g. shuffling a few key pieces of info around and slightly rephrasing the post they’re replying to), but written in all lowercase. They’re trying to make it seem like a lazy/sloppy human wrote it when it’s really just a sloppy bot.
recently i've come across posts that sound like ai. they only repeat infoemation from the previous conversation in a different order. but they are all lowercase and misspelled, trying to make it seem like the work of stinky humans when it is actually the work of esteemed high quality superior ai.