Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • "Inside every large program, there is a small program trying to get out." --Tony Hoare

    Abstractions incur overhead, yep. Fortunately, POE's higher-level abstractions (wheels, components) are entirely optional. The low-level abstract event loop primitives are still there: select_read(), alarm(), sig(), etc. There's a smaller POE inside. It's already out, but it's been a bit neglected.

    History has a bigger role to play than abstractions in the obstruction of change. A long-established, stable module like P

    • The context I was talking about POE in was this: a program written to use it versus one written to do something else looks very different. This means that it's hard to switch styles. A lot of changes have to happen to a lot of the program.

      Everything goes out of fashion eventually.

      That was part of the point of evaluating how entrenched any abstraction will make you. Being entrenched by an abstraction is a mark against it.

      Too much and leaky abstraction is another matter and I whipped on other things there

  • I created ORLite to address precisely the problem you are talking about.

    ORLite tries to use as little abstraction as possible, and in particular there is no abstraction of where clauses.

    my @objects = ORLite::TableName->select( 'END_SQL', 'Bob' );
    where name in (
            select name from people where husband in (
                    select name from people where name like ?

  • Thank you for the insights, and thank you for turning me on to Plack.

    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • Someone once wrote "I wrote you a long letter because I did not have time to write a short one" and it sounds like a paradox - but communicating clearly usually means communicating shortly and it takes time to work out what really is your core message. This is the same case with programming libraries - it takes time to realize what are the highly cohesive components and what parts can be decoupled into independent modules. It is a bit unfortunate how the big libraries have advantage in gaining popularity