Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Root5053572d// This is comment
metamourge635072d//Abandon hope all ye who enter here
deadlyRants447972d// And now for the tricky bit
asgs528272dI don't see how this is a joke. It is a serious fucking problem
sbiewald179172dWrong or outdated comments are even worse.
halfflat83672dI have personally witnessed the equivalent of:
loopCounter++; // increment loop counter
Sometimes I fear I hold more rage than can be contained by this fragile mortal shell.
suprano384372d/* but at least there were still some comments. 😂😜
JustThat73371d# If this works, imma buy a lottery ticket
/* This IS NOT SQL Injection safe. Oh, well */
(I've used this one)
# This works. Not sure why. Don't touch it. Please.
JustThat73371dAll kidding aside: I find that commenting code well is a skill just as much as coding itself is. Sadly, it is a skill many developers find as distasteful as documentation so it quickly falls by the wayside.
As I get more experienced, I find myself commenting my code for me _and_ for anyone who may look at it after me just so they don't have to bother me with questions or curse my name for not commenting the code.
And I agree that obvious stuff probably shouldn't be commented but what is obvious to one dev may not be to another, no?
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job