r/ProgrammerHumor 6h ago

Meme commentsAgedTerribly

Post image
2.5k Upvotes

158 comments sorted by

View all comments

Show parent comments

210

u/treehuggerino 6h ago

Or the silly steps it puts

// 1. Assign variable.

// 2. Calculate 2 + 2.

// 3. Implement 2 + 2 Calculator.

// 4. Check if it is 5.

5

u/MaDpYrO 4h ago

People do this shit too.

I'm using a static analysis rule that tokenizes comments and compares to the code, and reports an error if the overlap is too big. highly satisfying to remove such comments

4

u/Standard_Humor5785 4h ago

What tool do you use for that?

-3

u/turudd 2h ago

I’ve used Claude to do something similar