From: Austin Ziegler Date: 2002-12-06T10:05:53+09:00 Subject: Re: Ruby Book for People Who Aren't (Yet) Programmers On Fri, 6 Dec 2002 05:35:21 +0900, Martin DeMello wrote: > Austin Ziegler wrote: >> An object is the fundamental unit in Ruby. Objects can represent >> numbers, text (called /String/s), collections of objects (called >> /Array/s and /Hash/es), or just about anything else. Objects are >> essentially boxes with unique identification, value, and >> behaviour. >> >> * Unique. Two objects... >> * Value. Most objects... >> * Behaviour. ... > At this point, is there any reason *not* to mention the object id? > "Unique identification" is a rather abstract concept, whereas the > idea of uniqueness imposed via a globally unique id number is a > common one from real life. Also, knowing the mechanism involved is > often helpful in understanding and remembering why things are the > way they are. I think that in the part that I elided regarding uniqueness, I mention that there is an ID; I might not mention that it's accessible through #id, though. -austin -- Austin Ziegler, austin@halostatue.ca on 2002.12.05 at 20.03.14