From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c87bf30faa2b6b X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: [Q] To initialise or not. Date: 1996/04/27 Message-ID: #1/1 X-Deja-AN: 151680767 references: <484274071wnr@diphi.demon.co.uk> <3180CF00.17D5@lmtas.lmco.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-04-27T00:00:00+00:00 List-Id: Ken Garlington said "Actually, Normalize_Scalars cannot be used to ensure that objects are initialized before use; in fact, it definitely cannot be used to ensure objects have _valid_ values before use!" That's half wrong and half right. The first half is wrong, NS definitely causes all scalars to be initialized before use. The second half is right, it is (deliberately) not the case that NS requires valid values. The whole idea is to guarantee predictability by initializing everything to a known and consistent value, WITHOUT necessarily providing a valid value on which the proram could (incorrectly) depend.