Earlier quoted context omitted.
I don't doubt that you could write a DSL that someone would be productive with. But then you'd need to keep a psychiatrist on staff to make sure the people using it don't go crazy. If we're talking about a full on, general purpose language, then you might as well start them on Thorazine ahead of time. Otherwise, you risk a programmer going postal. In short, don't risk your or your coworkers' safety. Just say no to XM…
I know several people that are productive with that language without a psychiatrist. Take for example XSLT. You are saying that all XSLT programmers are mad?
Why I hate XML for DSLs
21–27 of 27 posts
Re: Why I hate XML for DSLs
#22Most of my past experience with XML reminds of a certain saying. The one about how someone realized they had a problem and that it could be solved with XML. Then they had two problems.
Oh, not the one about how XML's like violence - more of it solves any problem?
Re: Why I hate XML for DSLs
#23Earlier quoted context omitted.
I know several people that are productive with that language without a psychiatrist. Take for example XSLT. You are saying that all XSLT programmers are mad?
Are you sure you haven't misspelled you nick when registering? I mean, g and b are like right next to each other...
[edit: ok, I get it! :) ]
Re: Why I hate XML for DSLs
#24Earlier quoted context omitted.
I know several people that are productive with that language without a psychiatrist. Take for example XSLT. You are saying that all XSLT programmers are mad?
Not at all. However, if they enjoy it, I'm not convinced they're sane either.
Re: Why I hate XML for DSLs
#25Earlier quoted context omitted.
Are you sure you haven't misspelled you nick when registering? I mean, g and b are like right next to each other...
Who is patrickb? Why should I change my name? [edit: ok, I get it! :) ]
Re: Why I hate XML for DSLs
#26Earlier quoted context omitted.
Not at all. However, if they enjoy it, I'm not convinced they're sane either.
So everyone who is not mainstream is subject to not being sane? What a strange hacker attitude...
Re: Why I hate XML for DSLs
#27Earlier quoted context omitted.
Languages are mainly for humans, not for machines. XML is intended for transporting data machine to machine, not to be read and comprehended by humans. Computer languages must foster the comnprehension by (fellow) developers, this is their main task. Reloading is possible with Java as well. And even an XML-document has to be reparsed and most likely be brought into an internal representation, a task which is very sim…
> Languages are mainly for humans, not for machines. XML is intended for transporting data machine to machine, not to be read and comprehended by humans. You might want to avoid rewriting history, or at least avoid commenting on things you clearly know nothing about. XML Working Group design goal 6 (out of 10): > XML documents should be human-legible and reasonably clear. Human readability was a primary goal of the W…
Yes, that's true, as stated in http://www.w3.org/TR/2008/REC-xml-20081126/#sec-origin-goals. Nevertheless, I stand by my point that human readability does not necessarily imply easy human comprehension. For that matter I believe that the working group introduces that design goal to ease problem tracking and not to imply that xml is suitable for human to human communication (which imho should be the main design goal of computer languages). I have great respect for your mental abilities but for me its difficult to understand larger ant scripts as xml is a data container and not a control flow language.