Re: Re: Constructors?

Daniel Bonniot <[email protected]> Wed, 06 Oct 2004 12:52:35 +0200
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
> There seems to be some discussion surrounding this issue.  After reading 
> the discussions I think I understand the design decisions better. 
> Certainly given the fact that one cannot access member variables from 
> within a constructor I guess it wouldn't make much since not to call the 
> automatic constructor, or some chain of constructors that end with an 
> automatic constructor.  Otherwise, nothing in the instance changes.  I 
> wonder if the Nice constructor approach aids in better compilation and 
> object creation performance, or if it is strictly language motivated?

The movitation is to make sure that instances are valid before they start 
being used (which is not the case in Java).

You should find the log of an irc discussion interesting:
   http://confer09.condor-edv.com/nice@freenode/2004-09-18.html
It starts at 14:47 (right column), at about the middle of the page.

Cheers,

Daniel


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl