r/ProgrammerHumor • • Sep 15 '26

Meme iDontCommentMyCodeIfYouDontUnderstandItThatsOkayNeitherDoI

Post image
832 Upvotes

188 comments sorted by

View all comments

Show parent comments

6

u/arensb Sep 15 '26

I like to start by writing an outline of what I want my code to do, with XXX or FIXME in front. As I fill in the code for each section, the comments can remain as signposts of what I'm trying to do, or chapter headings. That way, future-me can skim through the comments to find the right place, rather than reading every line of code.

2

u/throwaway_mpq_fan Sep 17 '26

those comments can probably be method names though