On Fri, Jan 23, 2004 at 02:19:37PM +0100, Michael Scott wrote: > Is there a reason why the names have to be so terse? > > Mutable is not a bad word for able-to-change. (Cribbed from Cocoa, > though there the immutability is absolute). > > *) Array - fixed-size, mixed-type array > *) MutablePArray - variable-sized PMC array > *) PArray - Fixed-size PMC array > *) MutableSArray - variable-sized string array > *) SArray - fixed-size string array
By mutable you mean size but others might read it as the types or contents or some other aspect. Here's my preference: *) ArrayFLenMixed - fixed-size, mixed-type array *) ArrayVLenPMC - variable-sized PMC array *) ArrayFLenPMC - fixed-size PMC array *) ArrayVLenString - variable-sized string array *) ArrayFLenString - fixed-size string array (Of course VLen/FLen could be VSize/FSize if preferred, and "Mixed" seemed better than "Any" as I recall it's not truly "any" type.) The general scheme is <container type><qualifiers><contained type> Tim. > Mike > > On 22 Jan 2004, at 19:24, Dan Sugalski wrote: > > >At 2:15 PM -0500 1/21/04, Matt Fowles wrote: > >>All~ > >> > >>>So, lets do the classes as: > >>> > >>>*) Array - fixed-size, mixed-type array > >>>*) vPArray - variable-sized PMC array > >>>*) PArray - Fixed-size PMC array > >>>*) vSArray - variable-sized string array > >>>*) SArray - fixed-size string array > >> > >>I suggest using "Array" to mean fixed size and "Vector" to mean > >>variable size. > > > >I'd rather not. Vector, for me at least, has some specific > >connotations (from physics) that don't really match what we're talking > >about here. They're more vectors in the mathematical sense, but they > >won't behave like mathematical vectors so I don't think that's a good > >idea either. > > > >Array, while mundane (and a bit annoying with the prefix stuff tacked > >on) is at least accurate. > >-- > > Dan > > > >--------------------------------------"it's like > >this"------------------- > >Dan Sugalski even samurai > >[EMAIL PROTECTED] have teddy bears and even > > teddy bears get drunk > >