Google Groups Home
Help | Sign in
Message from discussion Beginner question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Peter Seibel  
View profile
 More options Jan 31 2005, 5:58 pm
Newsgroups: comp.lang.lisp
From: Peter Seibel <pe...@javamonkey.com>
Date: Mon, 31 Jan 2005 22:58:13 GMT
Local: Mon, Jan 31 2005 5:58 pm
Subject: Re: Beginner question

drewc <dr...@rift.com> writes:
> yoel.jacob...@gmail.com wrote:
>> Drew,
>> Thanks. I'm actually reading this book and do find it readable and
>> practical. Yet, I can't read such a book from cover to cover without
>> any practice. I find that  simple daily tasks to be a good practice.

> Ah good! Practice makes perfect.
>> I just wonder regarding your recommendation against plist for
>> storing my strucutre. Practical Lisp clearly recommends Hash Tables
>> for large tables and plists/alists for small tables for efficiency
>> reasons.

> Nothing with plists per-se, as my PLINE->PLIST function returns one.
> its the use of a symbols plist that is generally frowned apon.

> A plist (property list) is simply a list of key/value pairs. An
> alist (associative list) is a list of lists whose CAR is the key and
> CDR is the value.

> For some (mostly historical) reason, you can also access the plist
> of a symbol. Each symbol carries a plist that can be accessed with
> SYMBOL-PLIST. Using the property list of a symbol is almost never
> what you want to do.. it's much easier to use a regular list, and
> leads to less confusion.

Except when it is. I give an example of what I think is a rightous use
of symbol property lists in Chapter 24. YMMV of course.

-Peter

--
Peter Seibel                                      pe...@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google