[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abstracting Lisp strings - macro name convention?
From: |
Miles Bader |
Subject: |
Re: abstracting Lisp strings - macro name convention? |
Date: |
03 Jul 2002 22:16:18 +0900 |
address@hidden (Kim F. Storm) writes:
> > STRING_REF(obj,index)
> > STRING_SET(obj,index,newbyteval)
>
> Wouldn't it be more consistent to name these
>
> STRING_AREF(obj,index)
> STRING_ASET(obj,index,newbyteval)
Why? `aref' is a noun-verb pair meaning `array reference'; since
strings are generally thought of as _being_ arrays, not _containing_
arrays,`string array reference' sounds redundant.
A traditional name in lisp, btw, is `sref', but it's not used that much,
so I think it makes sense to use a longer name here.
-Miles
--
Freedom's just another word, for nothing left to lose --Janis Joplin