16
TheMatt
8y

When you open a huge project for the first time to fix a bug and see no comments.
😐🔫

Comments
  • 0
    It SHOULD be obvious what it is doing 🙄. It could be worse. You could be looking at code where the comment is 10x longer than the code is 😰
  • 0
    I always thought you should comment everything but then I read an article that said it's way better to write readable code that's clear exactly what you're doing. and only comment things if it's not clear what or why you're doing something. makes sense, otherwise important comments get lost if you put them everywhere
  • 0
    I can't remember the last time I wrote a comment 😂
  • 1
    The main problem with comments is that they often LIE! People tend to update the code, but then forget to update the comments 😶
  • 0
    Not a ton of people doing dev work in the K-12 education sector (not tech firms but districts/state agencies/schools), so I end up treating comments as much about teaching others how to write code as I do a reminder for myself several months in he future what things were doing. Get yelled at by my friends in the tech sector for over commenting, but it depends on the context.
Add Comment