Re: Keyword abuse (Re: reduced size symbols/keywords)
- From: Tim Bradshaw <tfb+google@xxxxxxxx>
- Date: Sun, 31 Aug 2008 03:13:07 -0700 (PDT)
On Aug 29, 3:18 pm, "John Thingstad" <jpth...@xxxxxxxxx> wrote:
(HTML:HTML (HTML:HEAD ...) (HTML:BODY...)
would be a real pain. After all HTML is typically in use on several
packages and it is important that the refer to the same symbol.
If something unrelated to HTML uses the key like :body no harm is done.
If you have a 'body local to the package and a 'body in a different
package they are not the same symbol.
This could cause errors.
It is far better to have it all in one place the KEYWORD package.
And in fact it is the only realistic option if you want to remain
agnostic about what tags can exist in an HTML/XML document, unless you
enjoy spending a huge amount of time declaring all the tags in
advance.
--tim
.
- References:
- reduced size symbols/keywords
- From: verec
- Keyword abuse (Re: reduced size symbols/keywords)
- From: Marco Antoniotti
- Re: Keyword abuse (Re: reduced size symbols/keywords)
- From: John Thingstad
- reduced size symbols/keywords
- Prev by Date: Re: How much tuning does regular lisp compilers do?
- Next by Date: futures in common lisp
- Previous by thread: Re: Keyword abuse (Re: reduced size symbols/keywords)
- Next by thread: vbz Portable AllegroServe gray-streams external-format
- Index(es):
Relevant Pages
|