Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@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! -
CodeBane7736y@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 -
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". -
@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 ð
-
s0nic1211206yMy favorite type of comment:
// Set loading to true
this.loading = true;
OH REALLY??? ð -
@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 -
s0nic1211206y@cantthinkofone I'm more of a minimalist when it comes to commenting. Projects littered with useless comments drive me nuts. ðĪŠ
Related Rants
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!
devrant
debugging
comments
code