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.
  • Martin Fowler has a nice article [martinfowler.com] where he uses the terms Internal and External DSLs to describe the difference between DSLs implemented within a language and those implemented in a separate language that is then parsed.

    As somebody who played a great deal with Lisp I have a fondness for the whole code-as-data paradigm that leads to internal DSLs.

    (Aside - feeling generally annoyed off with this utterly f**king pointless Ruby/Perl pissing match. We're turning into the Lisp community. Look how well they did

    • OK, I can see how I have contributed to this. Sorry about that. I really like both languages (though I know Perl better, obviously).

      And to be fair, I never really considered "internal" DSLs to be DSLs. That's just good programming. I realize this is just picking apart terms and it's probably unfair of me to disagree with what is apparently a common usage of the term, even though the comparison of internal and external DSLs is comparing cheese and Wednesday. They're radically different things with pote

      • OK, I can see how I have contributed to this. Sorry about that. I really like both languages (though I know Perl better, obviously).

        My sigh wasn't aimed at you :-)

        comparison of internal and external DSLs is comparing cheese and Wednesday

        I don't think it is really - maybe my early Lisp experiences have totally warped me (my father's parenthesis [xkcd.com] and all that :-)

        It's been my experience that the user of the DSL doesn't care whether it's internal or external. I've met testers using Watir that don't realise they've been writing Ruby. I've had clients write their customer facing tests in Perl - and not realise they're writing in Perl.