On Wed, Dec 24, 2008 at 3:25 PM, Nikola Smolenski <smolensk(a)eunet.yu> wrote:
It is, as there exist various database abstraction
classes, somewhat similar
to each other, a lot of people have worked with.
If the domain-specific language is SQL-like, that benefit would exist
for it too, in fact even more so.
Add to that the benefits of
your editor not able to highlight the code and no way to immediately see
syntax errors and similar.
Syntax errors in a domain-specific language would often be logic
errors in something shoehorned on top of PHP arrays, which your editor
won't be able to highlight anyway. Plus, if it's SQL-like (and why
shouldn't it be?), your editor probably *will* be able to highlight
the code.