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
-
Adding some jokes is OK in my book, but you never know who looks at your code so you better not make it too explicit
-
Pyjong10875yI wouldnt mind if it wasnt documenting author's laziness. This is no good. At least type TODO so you can find it
-
@devTea how else am i supposed to express my frustrations and rage after fixing a bug hours or days old?????
-
devTea219105y@SukMikeHok believe it or not, an experienced programmer is there to solve problems while facing shit everyday
-
@devTea that sounds like a depressing pussy life and i fuckijg refuse to live a pussy life
-
@SukMikeHok Having patience and actually dealing with things internally rather than blowing up at things (in whatever form that takes) is usually a sign of mental strength. If you think it's weak, you haven't looked closely enough. Acting like an adult is work, and isn't always fun. It's generally much more rewarding long-term, though, and it has the bonus that the people around you don't have to deal with anger/abuse/etc. when things don't go your way.
As one of my engineering professors told my class, "all the easy problems have been solved or they wouldn't need you." -
Not only does it look unprofessional, but comments like that tend also to be wordy.
Go to the point.
Comments exist to help others (and yourself in the future) understand what certain piece of code does or why it os written in such way. -
Hazarth95065yIts absolutely unprofessional... Do I care when Im tired, its time to go home, and I need to fix some bug Im barely able to comprehend at that state? No, no I don't... Tho I whouldn't let that through code review anyway
-
This might be an unpopular opinion, but if you get genuinely angry because of a bug or a piece of code then you chose the wrong career.
-
-
pk7611705yIf you never do, I think it makes you look pretentious. Don't be an asshole about it of course. But keep in mind most of these "bad" words have more to do with their language of origin and centuries old racism than inherent "badness".
1) is it wrong if i write comments with bad words
2) is it unprofessional if i write a comment "//this shit needed to be wrapped wtih an if statement of target != null so the fucking bullshit dont fking crash no more"
?
rant