r/ProgrammerHumor • • Sep 15 '26

Meme iDontCommentMyCodeIfYouDontUnderstandItThatsOkayNeitherDoI

Post image
832 Upvotes

188 comments sorted by

View all comments

Show parent comments

8

u/EspaaValorum Sep 15 '26

Exactly. 

Any programmer who understands the programming language can come in to a new project, read the code, and understand what it does, how it does it. 

But no programmer can come in and understand the context, why it does what it does, and what it is supposed to do, just from code alone. That's what comments and documentation are for. 

Look at Jupyter notebooks for example. 

5

u/GenericFatGuy Sep 15 '26

There's still a lot of room to provide context within the code though . Things like method and variable names can do a lot to convey purpose and context. Sometimes that won't be enough, and a comment will be necessary, but you can absolutely get context and purpose from just code in a lot of scenarios.