Re: Renaming map->dict, class->type?
"Richard A. O'Keefe" <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Two further naming issues.
(1) "var" was regrettable and "arg" was worse, and "nb" positively cruel.
If possible, new built in type names should be, and new built in
predicate names should be made of, entire words, not abbreviated.
There are obvious exceptions where in the real world an acronym is
used to the practical exclusion of the full term, like XML or HTTP.
(2) "Many array-oriented language programmers" will be familiar
with "kind" as the technical term for an integral parameter
of a type, distinguishing say 8-bit characters from 32-bit ones
or single precision floats from double precision.