• TS (unregistered)

    That's Roger's Profanisaurus. A bit different from Roget's work.

  • xorium (unregistered)

    So... Joey was well acquainted with Kevin Bloody Wilson's work?

  • (nodebb)

    The second to last paragraph has "amateur" misspelled as "amatuer".

  • Hanzito (unregistered)

    Is it April already? If not, someone has to fill in the blanks for me. How do you get from "transfering his music collection ... onto his computer" to Perl scripts with meaningless variable names?

  • Hanzito (unregistered)

    BTW, Roger's Profanisaurus (a dirty dino?) is of course available online, and has nothing on "dirk". It does mention Charlie, Donald, and Eric, but dirk/Dirk is sadly missing.

  • xorium (unregistered) in reply to Hanzito

    Ernest encountered problems with digitizing his music collection. So he had to bring in help. And this help (Joey) got to see his desktop with the collection of nicely named scripts.

  • (nodebb)

    Re: dirk and profanity.

    I always thought of it as being just a specific sort of dagger, but ... no. It's also a verb, meaning to stab someone with a dirk-form dagger.

    And a slightly obscure and geographically specific term for the "male member"... https://en.wiktionary.org/wiki/dirk#Etymology_3

  • The Incredible Holk (unregistered)

    Not the worst variable naming we've seen on this site.

    Bonus challenge: write a series of regexes that constitutes a piece of obscene ASCII art.

  • (author) in reply to The Incredible Holk

    Trick question: all regexs are obscene ASCII art.

  • (nodebb)

    It would be truly dirty if they threw in Hungarian notation.

  • Jonathan (unregistered)

    I will confess that when I'm having an awful time getting some script to work I have named a temporary variable "$f*ck" out of frustration. But once I get things working I clean it up because why subject myself to that when I read the code later?

    (I don't put an asterisk in variable names. I just thought the spam filter might get triggered by fully-spelled out profanity.)

  • (nodebb) in reply to Jonathan

    I just thought the spam filter might get triggered by fully-spelled out profanity.

    As far as I fucking know, it doesn't.

    (Let's see...)

  • (nodebb)

    Can't claim that today's story does not live up to the web site's title.

    (No it isn't "worse than failure", that was just a backronym)

  • (nodebb)

    Profanisaurous

    Imagine if that was a real dinosaur name. It taunts its preys by throwing dirty words at them...?

    As we say in French:

    Les archéologistes ont des fouilles curieuses.

    (I'll see myself out now)

  • (nodebb)

    I feel like there might be some England English vs. US English going on here with how some words are profanity. While I speak US English, I know some of these are from England.

  • Klimax (unregistered) in reply to Hanzito

    Dirk seems to be just alt spelling for di c k.

  • (nodebb)

    TRWTF is Perl

  • (nodebb)

    I always thought of Perl as an arcane language here here

    Only if you evaluate it by someone writing code like it's the late 90s. Perl has progressed so tremendously since then, that it is truly unfair to gauge it like that. It's like comparing a modern GPU to an original Voodoo card; a lot has advanced since then.

    For example, the modern equivalent of

    my @wankoid;
    my $wankoff;
    open(SHIT,"discindex.htm");
    @wankoid=<SHIT>;
    $wankoff=join("",@wankoid);
    my @toss=split(/\nLabel\:/,$wankoff);
    

    could be something like:

    use Path::Tiny;
    ...
    my @toss = split / \n Label \: /x, path( 'discindex.htm' )->spew;
    

    You just can't judge from a book and style clear from over 20 years ago. Perl today is a thriving language, with the CPAN repository being a, frankly, unmatched wealth of community works available for anyone to use.

  • Fizzlecist (unregistered) in reply to Klimax

    A dirk is a long bladed Scottish dagger, and like most types of swords & dagger, is also slang for a penis

  • Nutcase (unregistered)

    Point me to the github repo, this looks fun.

Leave a comment on “Linguistic Perls”

Log In or post as a guest

Replying to comment #:

« Return to Article