Hacker News new | ask | show | jobs
by vonunov 22 days ago
/* This function doesn't return an int. It doesn't return a float. It doesn't return a char. It doesn't ret-- */
1 comments

I've seen AI-generated API documentation do this: "Good for X and Y. Do NOT use for Z - use foo instead."

A human writer would add that sparingly, for cases where there might be some ambiguity. But the bot added that to basically every single API endpoint.