[plt-scheme] accessing SXML->HTML in the latest version of sxml-tools for plt-scheme

From: Eli Barzilay (eli at barzilay.org)
Date: Mon May 24 14:55:20 EDT 2004

On May 24, Anton van Straaten wrote:
> No flames, but with case-sensitivity as the default, there'll be
> NoStoppingIt.  CulturalInhibitions WontBeEnough.  It WontBeLong
> before SchemeWillBeIndistinguishableFromWikis.  But
> IsThatSuchABadThingReally?  OpinionsDiffer.  Some say StudlyCaps are
> ReadableMixedCase.  Casting my eye OverThisParagraph, I'm
> NotSureIAgree.

Well, with almost any kind of foreign stuff (eg, foreign bindings,
running shell commands, the xml stuff), the initial idea I have is
(obviously) to do something automatic.  But this doesn't work too
well...  I was trying to have a special form that turns

  (deffoo blah-blah ...)


  (define blah-blah (get-some-function "BlahBlah" ...))

but this doesn't work with names like BlahURL.  The other way around
would be:

  (deffoo BlahBlahURL ...)

converted to:

  (define blah-blah-url ...)

but then your source code would a mess to explain.  In both cases, you
have to tell your users something like:

  The "foo.ss" library exposes Foo functionality.  You can use Foo's
  manual, keeping in mind that a `foo-bar' Scheme function is Foo's

It's just so much more convenient to have the language be case
sensitive by default.

(I know there are counter arguments now, starting with the whole mess
of my code's intentions, forcing the users to a certain style etc
etc.  Obviously there are arguments for both sides, as can be seen by
Schemes that are case sensitive by default, and by the fact that most
popular language are sensitive too.)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.