Re: Renaming map->dict, class->type?
Boris Vassilev <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAFw8os+YuysEB8KyH=t+_f4vhE1AFUXDJ7rLuBZ9-zi8sXBngA@mail.gmail.com> |
On Tue, Nov 26, 2013 at 12:14 PM, Jan Wielemaker <[email protected]> wrote: > Still tempted for "dict" From the point of view of someone who is a newcomer to programming, "dict" is the only name that is descriptive (sort of, "dictionary" would be better but it's too long?) and does not bring bizarre associations. "map" especially is a misleading term because it is overloaded with multiple meanings. One has to go quite far through a dictionary (Merriam-Webster, for example) to get to: noun... verb... intransitive verb... 2*: *to be assigned in a relation or connection (I realize that "to map" and "mapping" are widely used in the field of computer science and in programming.) A dictionary, on the other hand, is exactly what we have here (it seems to me), down to the current implementation. Cheers, Boris -------------- next part -------------- HTML attachment scrubbed and removed