This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Name change: SCMWORD --> scm_word_t
- To: guile at sourceware dot cygnus dot com
- Subject: Name change: SCMWORD --> scm_word_t
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: Sun, 12 Mar 2000 00:55:01 +0100
- Reply-to: Mikael Djurfeldt <djurfeldt at nada dot kth dot se>
I propose that we rename SCMWORD --> scm_word_t
Motivation:
* The convention for types in Guile is scm_xxx_t
* We try to follow the rule that all names except scm_xxx and SCM_xxx
belongs to the application with the only exception of `SCM'. (One
might argue: Why not simplify this rule and say that scmxxx are
Guile names? Answer: It makes the distinction between the two name
spaces fuzzier. Consider a molecular biologist who uses a variable
"scmutation" to denote an SC-mutation.)
Criticism:
* scm_word_t is too long and complex for such a fundamental type.
Answer to the criticism:
* One normally uses SCM_WORD to do the cast.
BTW, isn't there a better name than SCM_WORD, a name less connected
with a certain size of data? (Can't think of one myself right now.)