This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Names in libguile
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: Names in libguile
- From: Michael Livshin <mlivshin at bigfoot dot com>
- Date: 21 Mar 2000 16:18:35 +0200
- Cc: "Greg J. Badros" <gjb at cs dot washington dot edu>, Mikael Djurfeldt <djurfeldt at nada dot kth dot se>, guile at sourceware dot cygnus dot com
- Organization: who? me?
- References: <Pine.LNX.4.21.0003171837540.1999-100000@marvin.ida.ing.tu-bs.de>
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.