Slashdot Mirror


Comment Profanity by Language

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.

6 of 263 comments (clear)

  1. Also a bar chart! by Abstrackt · · Score: 5, Funny

    There's also a bar chart because somebody couldn't interpret the pie chart....

    --
    They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance. - Terry Pratchett
  2. NOT CODE COMMENTS!! by iYk6 · · Score: 5, Informative

    Actually, contrary to the summary, this article has nothing to do with code comments, and so the amount of comments per code has no effect on the results. The profanity measured in the article is from git commit messages.

  3. PHP For The Fucking Win by Anonymous Coward · · Score: 5, Funny

    As a goddamn PHP programmer, I am fucking glad that those cocksuckers don't put a lot of profane shit in the fucking comments. Unlike those asshole C++ programmer bastards. Goddamn cunts.

  4. Re:Perfect? by TheRaven64 · · Score: 5, Insightful

    In my personal opinion, developers like you are the reason why every single 'working' piece of Python code I've encountered has required me to spend time debugging it before actually using it.

    --
    I am TheRaven on Soylent News
  5. Re:PHP programmers by TheRaven64 · · Score: 5, Funny

    PHP programmers have such a low number of profanities in comments because they have yet to learn to comment their code.

    --
    I am TheRaven on Soylent News
  6. Re:Perfect? by eln · · Score: 5, Insightful

    Most people skilled in a language (yes, even perl) can figure out what a piece of code actually does given enough time to look through it. The comments are to tell us what the code is *supposed* to do and *why*, so when we need to debug it we know what you were thinking when you wrote it and what you were trying to accomplish. When you're trying to figure out why a piece of code doesn't do what it's supposed to do, it's very helpful to know what it was supposed to do first.