• 0 posts
  • 3 comments
Joined 3 years ago
Cake day: July 18th, 2023
  • Don’t comment what a line is doing. Instead, write your code, especially names for variables, constants, classes, functions, methods and so on, so that they produce talking code that needs no comments.

    Over and over and over again in my experience this just doesn’t work. Readable code does not substitute for comments about what the code should be doing.