From: Wesley Leggette <wleggette@gate.net>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Re: Init replacement
Date: 04 May 2003 18:58:56 -0500 [thread overview]
Message-ID: <1052092735.7913.20.camel@cyr.kaylix.net> (raw)
In-Reply-To: <200305041625.35794.powers.161@osu.edu>
On Sun, 2003-05-04 at 15:25, Evan Powers wrote:
> On Sunday 04 May 2003 12:49 pm, Björn Lindström wrote:
> > SGML (and thus HTML) was never originally intended to be human
> > readable/hackable. The same goes for XML. It is designed to be
> > easily _parsed_, not easily _read_.
>
> I think you've made an excellent point here, one people should not quickly
> overlook. Though I'll take a slightly different perspective.
>
> XML isn't intrinsically harder to read than any other general-purpose
> expressive system. When humans say that it is, what they're really doing is
> complaining that they cannot use domain-specific sub-syntaxes. (Or rather,
> that they are discouraged from doing so.)
>
> Example. Mathematical notation isn't /necessary/, people could just write "a
> quantity named y equals the indefinite integral of f, a function of a
> quantity named x, times the derivative of the quantity x". But they never do,
> instead preferring to write "y=", a certain squiggle, and "f(x)dx".
>
> Does anyone actually think a human is ever going to (voluntarily) write an
> equation of even moderate complexity in MathML?
>
> My point is this:
>
> Starting and stopping most services is a task that can be broken down into
> execing or fork-execing another program with a particular environment,
> particular command line arguments, and particular input and output
> redirections. Shell is a domain-specific language particularly suited to
> expressing these operations.
>
> I won't say that XML has no place, or that script snippets shouldn't be
> embedded within an XML document, or that the script a human writes shouldn't
> be immediately translated into its XML equivalent. I am saying, however, that
> humans will insist on writing in the shell domain-specific language where it
> is more convenient for them to do so, and that forcing them to do otherwise
> in the name of anything is a long-term design mistake.
>
> Which I suppose is a quite strong statement to make after all.
>
> Evan
>
> --
> gentoo-dev@gentoo.org mailing list
Yes, you are absolutly right about people wanting to use a
domain-specific language when it is most convienent. It would be best to
incorporate bash scripts in any XML style system. XML is probably best
for metadata (like dependancies and such),. but the system should allow
people to use shell scripts when any tricky commands have to be issued
to start something up.
--
Wesley Leggette <wleggette@gate.net>
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-05-05 0:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-02 20:34 [gentoo-dev] Init replacement Joshua Brindle
2003-05-02 21:36 ` Martin Schlemmer
2003-05-02 21:50 ` George Shapovalov
2003-05-03 9:14 ` Wouter van Kleunen
2003-05-04 16:02 ` Wesley Leggette
2003-05-04 16:49 ` [gentoo-dev] " Björn Lindström
2003-05-04 19:34 ` Joseph Carter
2003-05-04 23:55 ` Wesley Leggette
2003-05-08 16:16 ` Mark Bainter
2003-05-05 11:06 ` Terje Kvernes
2003-05-04 20:25 ` Evan Powers
2003-05-04 23:58 ` Wesley Leggette [this message]
2003-05-05 5:23 ` [gentoo-dev] " C. Brewer
-- strict thread matches above, loose matches on Subject: below --
2003-05-02 9:34 Wouter van Kleunen
2003-05-04 12:39 ` [gentoo-dev] " Robert Wittams
2003-05-05 10:20 ` A.Waschbuesch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1052092735.7913.20.camel@cyr.kaylix.net \
--to=wleggette@gate.net \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox