From: "Mauricio Fernández" Date: 2003-07-04T18:14:34+09:00 Subject: [OT] Re: Using & for arrays of objects On Fri, Jul 04, 2003 at 04:54:38PM +0900, Robert Klemme wrote: > > Which Ruby doesn't support: an object cannot be created without using > > a constructor. > > No OO language that I know does (maybe JavaScript), but you can have > factories nevertheless. And you might hide the constructor from the > public somewhere deep in the womb of the factory. > > > So how is the "first" object created? I guess the statement "it is normal for somebody your age to be curious about these things, but..." is a clich� :-)) > I guess you'll find out quite easily by looking into Ruby source code. :-) Beware: you could be talking to a minor. Some say that such immoral material (C code) should be kept away from the impressionable minds of The Children (tm). -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com How should I know if it works? That's what beta testers are for. I only coded it. -- Attributed to Linus Torvalds, somewhere in a posting