Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Programming

Comment Profanity by Language 263

beret found a nifty little pie chart breaking down profanity in code comments broken down by language. He used Carlin's Seven Words, and C++ came out on top while PHP users are either wholesome or perfect.
This discussion has been archived. No new comments can be posted.

Comment Profanity by Language

Comments Filter:
  • Re:Perfect? (Score:5, Interesting)

    by somersault ( 912633 ) on Tuesday February 22, 2011 @06:17PM (#35284672) Homepage Journal

    More like they never fucking comment their motherfucking code.

    My thinking exactly. Anyone who writes in PHP probably is using it because it's the easiest option..

  • by Cthefuture ( 665326 ) on Tuesday February 22, 2011 @06:31PM (#35284852)

    When I was in high school many moons ago I wanted to get into a programming class but my grades weren't good enough so I had to submit some programming work to the teacher. I gave her the source code for a BBS I had written. I remember having to go through the entire source base looking for profanity I had used in variable names, comments, etc. Being the teenager that I was I would sometimes just use them for no reason.

    I remember laughing to myself when I handed her that code. It must have been over 200 pages of printed source and I could tell she probably couldn't even write a sort function. This was back in the 80's when the educational system had almost no computer classes, let alone programming.

    It was at that time I realized that sometimes other people look at your code and it can reflect on you. I have never used profanity in source ever again. I also never berate other people's stuff in my code (like poorly written API's I have to use). Clean and professional makes for more readable code and keeps everyone happy, including myself.

"If it ain't broke, don't fix it." - Bert Lantz

Working...