What programming language is the most sweared one? Google Code search results.

Discussion in 'Programming' started by wmtips, Oct 6, 2006.

  1. #1
    Predius, who describes himself as a 16-year-old Peruvian Linux geek, has charted the frequency with which programmers embed unprintable swear words in commentary lines embedded within their computer code.

    Here the results:

    1. PHP
    2. C
    3. Perl
    4. C++
    5. Python & Java
    6. C#
     
    wmtips, Oct 6, 2006 IP
  2. clvezlys

    clvezlys Active Member

    Messages:
    236
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #2
    great find. Very amusing...:D
     
    clvezlys, Oct 8, 2006 IP
  3. RZ-1

    RZ-1 Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I love it. Its also by capita. It divides the number of f***s by the number of lines of code.

    I would've guessed perl would be #1.
     
    RZ-1, Oct 9, 2006 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    LOL. I code swear words in my PHP all the time too, it's my #1 debugging method.

    
    if (what I expect) { 
    //what I want 
    } 
    else 
    { 
    echo '<h1>BOLLOCKS on line N!';
    }
    
    PHP:
    :)
     
    T0PS3O, Oct 9, 2006 IP
  5. kemus

    kemus Guest

    Messages:
    487
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I use a simpler method:
    
    if (what I expect==what happens)
    {
    echo "THERES A FSCKING ERROR!!!!";
    }
    
    Code (markup):
    Of course, I'm a pessimist....
     
    kemus, Oct 17, 2006 IP
  6. RZ-1

    RZ-1 Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    
    if (what I expect==what happens)
    {
       echo "Woohoo!"
    } else {
       echo "THERES A FSCKING ERROR!!!!";
    }
    
    Code (markup):
    Hey - try using this code instead. it might cut down on your frustration.
    :D :D :D :D
     
    RZ-1, Oct 17, 2006 IP