Re: Difference between ' and : symbols
- From: Robert Uhl <eadmund42@xxxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 00:22:16 -0600
Tim X <timx@xxxxxxxxxxxxxxxxx> writes:
>
> If you can do
>
> (in-package "MY-PACKAGE")
> (in-package MY-PACKAGE)
> (in-package :MY-PACKAGE)
>
> which is considered to be the better style?
I use:
(in-package :my-package)
because uppercase is _wrong_. It's much more difficult to read, and
should be used exceedingly sparingly. IMHO (note the sparing usage...)
it was a bad mistake to specify that everything is up-cased rather than
down-cased.
For anyone interested why, it's because lower-case letters and words are
much more recognisable, whereas uppercase letters and words are less so,
since most uppercase letters are essentially squares. ISTR reading that
in some cases uppercase is semi-recognisable, but I don't recall where.
Incidentally, I know that I write 'lower-case' but also 'uppercase.'
Call it a quirk.
--
Robert Uhl <http://public.xdi.org/=ruhl>
When I was a boy of fourteen, my father was so ignorant I could hardly stand to
have the old man around. But when I got to be twenty-one, I was astonished at
how much the old man had learned in seven years. --Mark Twain
.
- References:
- Difference between ' and : symbols
- From: jonathon
- Re: Difference between ' and : symbols
- From: Christopher C. Stacy
- Re: Difference between ' and : symbols
- From: Tim X
- Difference between ' and : symbols
- Prev by Date: a working lisp telnetd?
- Next by Date: Re: optimizing lisp - best practices?
- Previous by thread: Re: Difference between ' and : symbols
- Next by thread: Lisp (and Prolog, and a bit of KR) job, University of Newcastle upon Tyne, UK
- Index(es):
Relevant Pages
|
Loading