Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I can see from Piers Cawley [bofh.org.uk] that Perl is capable of writing good pidgin notation.

    Here's an idea. Instead of complaining about Ruby DSL's 24/7, show us how to write one in Perl.

    • Instead of complaining about Ruby DSL's 24/7...

      Exaggerate much?

      ... show us how to write one in Perl.

      I'll do you one better. Take off the leading colons, turn end into a semicolon, and HEY LOOK IT'S SQL WITH SIGILS.

      Sharon merely uglified an existing, perfectly working DSL. Some invention.

      • by pdcawley (485) on 2008.01.19 23:28 (#60385) Homepage Journal
        Yeah, but at least it's not just passing a string to sql.execute or whatever, so ruby gets a chance to complain before the database does.

        Nah... not exactly compelling as arguments go is it?
        • It's an advantage though, and if there's cross-database goodness hidden behind the API, that's an advantage too.

          Of course, I worked on a project with something similar in 1999, and SQL was around before that, so anyone who didn't invent relational theory (or write a SQL database used by multiple people and projects) who claims to have come up with the syntax comes across as somewhat pretentious.