C
Clint Checketts
------=_Part_8223_20099861.1139017797517
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
While programming with Ruby, I've grown to love just how clear and concise
the language is. (You all already know this of course).
So, why is the object constructor so long? I mean 'initialize' could easily
be replaced with 'init' or even just plain 'new'.
In support of this idea, I've noticed that to_string() is written to_s. The
same is with arrays, integers, and floats.
Even in the Pickaxe book it points out that the spelling of 'initialize' as
being a gotcha. 'Init' seems simpler, to the point, and harder to mispell.
Am I missing any major reasoning behind using the term 'initialize'?
(Besides the fact that is is the status quo)
-Clint
------=_Part_8223_20099861.1139017797517--
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
While programming with Ruby, I've grown to love just how clear and concise
the language is. (You all already know this of course).
So, why is the object constructor so long? I mean 'initialize' could easily
be replaced with 'init' or even just plain 'new'.
In support of this idea, I've noticed that to_string() is written to_s. The
same is with arrays, integers, and floats.
Even in the Pickaxe book it points out that the spelling of 'initialize' as
being a gotcha. 'Init' seems simpler, to the point, and harder to mispell.
Am I missing any major reasoning behind using the term 'initialize'?
(Besides the fact that is is the status quo)
-Clint
------=_Part_8223_20099861.1139017797517--