Re: Declaring and Checking Non-Null Types
Daniel Bonniot <[email protected]> Wed, 24 Mar 2004 22:50:08 +0100
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
>>It discusses special handling of uninitialized fields but because >>constructor in Nice are different from Java/C# we don't need that. >> >> > >What's the Nice approach to initialization non-null fields in >parent-child relationships? > > Construction happens in a separate phase. This ensures that the whole object is initialized before any code uses it. This ensures that no "funny" behaviour occurs. Daniel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click