917
you are viewing a single comment's thread
view the rest of the comments
[-] Von_Broheim@programming.dev 0 points 1 year ago

If you're writing an explanation of what your code does then, ding ding, you're writing code. If your code has so many side effects and garbage in it that it's incomprehensible without an explanation then it's shit code and I doubt you'd be able to write a comment that explains it that is not equally as shit as the code. Commenting on how shit code works cannot be trusted because the commenter has already proved they're shit at the job by creating that shit code.

Best you can hope for is the comment contains a reason as to why the code is shit.

[-] squaresinger@feddit.de 0 points 1 year ago

Found the junior dev.

this post was submitted on 05 Aug 2023
917 points (96.3% liked)

Programmer Humor

19454 readers
770 users here now

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

founded 1 year ago
MODERATORS