you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 2 years ago

If a block of code needs a comment, then you can easily move that block into a function and summarise the comment into a name for that function. If you can not easily move a block of code into a function, then you may need to rethink your design.

This isn’t always true of course, but it’s a good mindset to have.

  • source
  • parent