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: Names in libguile


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> There are still some open points:
> 
> what about boolean variables/constants? scm_bool_?  This would fit nicely
>     with the current macro names SCM_BOOL_T and SCM_BOOL_F.
> 
> what about number variables/constants? scm_num_?  There is at least a
>     SCM_MAKINUM(0) somewhere...

please be careful about that "variables/constants".  it's probably OK
to name constants like scm_num_<n> or scm_bool_<t>, but it shouldn't
be extended to variables.  it smells of the dreaded Hungarian
notation, which would be especially misleading when applied to Scheme
values.

-- 
Think of C++ as an object-oriented assembly language.

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