This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: deeper constification


Clark McGrew <mcgrew@ale.physics.sunysb.edu> writes:

> set-cdr!            vector-set!
> scm_set_cdr_x       scm_vector_set_x
> SCM_SET_CDR	    SCM_SET_VECTOR

I buy this.

I agree with Clark that 1. we can have different naming schemes for
different classes of names (functions, macros etc), and 2. that the
naming inside each class should be as consistent as possible.

However, consistency says that if setting a vector element is

  SCM_SET_VECTOR

then referencing it is

  SCM_VECTOR

This may not be the greatest choice of names...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]