[Cs254f11] Several questions

Lee Spector lspector at hampshire.edu
Tue Oct 4 11:45:20 EDT 2011


On Oct 4, 2011, at 11:43 AM, Wm. Josiah Erikson wrote:
> 
> I didn't get that you didn't have to use keywords as map keys. That makes a lot more sense now. All the examples I could find had keywords as map keys (not that I looked that hard, just casually perusing)

Yeah -- it's probably the most common usage, so that makes sense. But a map is a very general data structure.

 -Lee

--
Lee Spector, Professor of Computer Science
Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspector at hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438



More information about the Cs254f11 mailing list