7

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"

?

Comments
  • 4
    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
  • 2
    I wouldnt mind if it wasnt documenting author's laziness. This is no good. At least type TODO so you can find it
  • 9
    Makes you look like a kid
  • 1
    @devTea how else am i supposed to express my frustrations and rage after fixing a bug hours or days old?????
  • 10
    @SukMikeHok believe it or not, an experienced programmer is there to solve problems while facing shit everyday
  • 1
    @devTea that sounds like a depressing pussy life and i fuckijg refuse to live a pussy life
  • 9
    @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."
  • 4
    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.
  • 3
    Its 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
  • 4
    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.
  • 1
    @SparkyTD what about frustration? Or just annoyance?

    Followed by 💦💦 when you solve it
  • 2
    You got angry, because you forgot to do a null check...?
  • 1
    If 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
    No, you’ll upset the compiler.
Add Comment