2 ms·
Ok, so the answer is, "because Rubyists have redefined that phrase"? ;-) Well, by name dropping I was hoping to avoid the appearance of that. :-) Fowler certa
by AndrewO 17y ago
Ok, so the answer is, "because Rubyists have redefined that phrase"? ;-)
Well, by name dropping I was hoping to avoid the appearance of that. :-) Fowler certainly writes about Ruby a lot, but I'd hope he's perceived as general enough to not just be a "Rubyist" (I don't know what he primarily uses). But he also points out that Lisp is a perfectly good host environment for internal DSLs (he calls it the "doyen of internal DSL thinking").
And I also brought up the "fluent interface" thing to suggest that you could call it that if it made you happier. For my tastes, I'm fine with the idea that a "language" reuses a more general purpose language's interpreter and libraries. YMMV.
I assume it's something like:...
http://github.com/bmizerany/sinatra/blob/work/lib/sinatra/base.rb#L836 http://github.com/bmizerany/sinatra/blob/work/lib/sinatra/ba...
Sure looks similar, but as you can see from all the code above the method there's a lot more going on. But hey, at least they didn't need to write a parser. ;-)