30

So my co-worker loves to tell us to comment our code, for obvious reasons.

But now I'm debugging his code, and guess what.

No comments.

Okay, maybe two comments in two different queries, but they were not that helpfull.

So now I have to debug his code, and I have no idea what I'm even supposed to look for!

Comments
  • 3
    Lol. Double standard
  • 10
    @HampusMa he also tells us to never put queries inside loops, because it makes it slower. Guess what I just found.

    Not one, but two queries inside one loop. And I'm only at the beginning!
  • 1
  • 6
    @cantthinkofone WHO TAUGHT THIS MAN SQL!?!? Murder him and hide the body in his code, the stink of bullshit will hide the corpse smell.

    If you SQL and loop without justification, I have a WHOLE MAGAZINE of bullets just for you :3
  • 0
    What an asshole. I hope you put him into his place. :-)

    P.S.: the "devrant" category is for stuff related to the DevRant platform itself, not for rants concerning general development. That would be just "rant".
  • 1
    @Fast-Nop sorry, I've been completly ignoring that one (not on purpose) and not reading what the tags said. I'll remember that next time, thank you 👍
  • 0
    My favorite type of comment:

    // Set loading to true
    this.loading = true;

    OH REALLY??? 😜
  • 0
    @s0nic12 not gonna lie, if I don't know what to comment, I'll just do something like that 😂

    But I also try to comment (almost) every line, so sometimes I have nothing else to say
  • 0
    @cantthinkofone I'm more of a minimalist when it comes to commenting. Projects littered with useless comments drive me nuts. ðŸĪŠ
  • 1
    At least he's not forcing you to comment PRINT STATEMENTS AND WHITESPACE!!!
Add Comment