However, Perl is not really capable of DSLs...
Back to Perl, by Cosine Jeremiah
I seem to recall writing several parsers in Perl. Perhaps the author was thinking of PERL, a so-called language with a confusingly similar name which stubbornly resists the efforts of even the best programmers to do anything useful.
I can't understand that phrase one bit, unless I change the meaning of at least one of the nouns substantially.
Who knows? (Score:1)
I think he is complaining about the fact that he needs to write
sub { ... }instead ofdo ... end, somewhere in there. Other than that, I cannot parse his post into anything intelligible.I think the problem was at the beginning (Score:1)
Re: (Score:1)
When I am emperor, I will have everyone who says "DSL" in apparent seriousness when describing an API beaten, except Martin Fowler.
Re: (Score:2)
What about "Idiomatic Domain Language"? I dunno, I'm just flailing here, but if you don't come up with a different term then people will keep using "DSL" inappropriately until you do. And no, they won't just be satisfied with "API", like it or not.
Re: (Score:1)
Re: (Score:1)
Matz forbid they stop their superlative language design sessions to do what the rest of the programming world does once in a while: call and sometimes write functions.
I guess slapping a colon on the front of your identifiers gives you magic powers or something, like wearing your underwear outside of your pants.
Re: (Score:1)
Face it: without a colon, you'd also be much less (excretionarily) concise and pleasant to be around ;).
language nazis, incorporated (Score:1)
This sentence you wrote in one of your blogs [oreillynet.com] sums it up for me: "If I'm confused about what a DSL is, you must be too." You can't even imagine that other people can understand something if you can't. You assume that if people aren't using words in a way you understand, then they must be wrong, or stupid. However if, as you said, the people at that Ruby conference were using "DSL" every ten minutes, then apparently they understand what they're talking about among themselves. So maybe it's actually you who do
Re: (Score:1)
So you think the CADT Model [jwz.org] is a good thing? “We’re not so much building on the programming state of the art as continually have each generation of programmers rediscover it [dehora.net].”
Re: (Score:2)
But, I suspect you already know the difference. :/
Re: (Score:1)
You're much better at Ruby than I am, and you have much better connections to and insight into the Ruby community than I do. Can you explain the quote from my original post, or was my initial impression correct that it's (at best) incorrect?
Re: (Score:2)
Whether or not you agree with the translation(s) is another matter. :)
Re: (Score:1)
I tuit it to mean “I have used Perl for not long enough to figure out how my Ruby knowledge might transfer.”
Re: (Score:1)
I can understand different preferences for different languages, but it's awfully difficult not to read severe and ignorant jassackery into the verb phrase "is not capable of".
Then again, I don't think I can believe in internal DSLs until I see one with syntax or semantics different from the host language, so I already lacked the inclination for a charitable interpretation.
Re: (Score:1)
I would appreciate very much if you refrained from telling me or anyone else what I think. Thank you.