(unknown charset) Re: [BLACKBOX] [Fwd: Re: [BLACKBOX] Variable initialization in BlackBox]

From: (unknown charset) Oleg N. Cher <"Oleg>
Date: Thu, 9 Oct 2008 05:42:14 +0300

----boundary-LibPST-iamunique-1949123466_-_-
Content-type: text/plain

Hello, BB Community,

I agree that to know in what events variable are zeroized,
but in what no, this much useful.

But software construction may be different, there is high efficiency
system programming, students teaching or crossplatform development.

If we talk about first, we will begin with that that assignment to 0
not always is necessary, particularly this possible say about RECORDs
and ARRAYs. Particularly, if at first step array is assigned to 0 tacit,
and afterwards in other importances obviously. This is a double work,
additionally absolutely unnecessary. Because it takes time to initialize
everything twice.

If we talk about second, students can be much surprised, when their
algorithms in one events works, but in other no, and this is caused
difficult to understand particularity to realization of the ambience
of the development. In such events to write evident assignment is necessary.

And finally in third part, I activelly used translation Oberon-programs
to C with Ofront (Dr. Josef Templ! Excellent work!), and I can not rely
that variables and structures are zeroized. So rely upon this not evident
variable assignment this already emergency.

Dear Mr. Iljin, probably, every night regularly reads the CP Language Report (Docu/CP-Lang), what impossible say about me, since I reread RFC 1035

;-)

> All fields or elements of a newly allocated record or array are
> cleared, which implies that all embedded pointers and procedure
> variables are initialized to NIL

--
Oleg N. Cher.
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1949123466_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxnc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29yZCBvciBhcnJheSBhcmVccGFyDQo+IGNsZWFyZWQsIHdoaWNoIGltcGxpZXMg
dGhhdCBhbGwgZW1iZWRkZWQgcG9pbnRlcnMgYW5kIHByb2NlZHVyZVxwYXINCj4gdmFyaWFibGVz
IGFyZSBpbml0aWFsaXplZCB0byBOSUxccGFyDQpccGFyDQotLVxwYXINCk9sZWcgTi4gQ2hlci5c
cGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdl
IHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNI
fX0ALauhJw==
----boundary-LibPST-iamunique-1949123466_-_---
Received on Thu Oct 09 2008 - 04:42:14 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:53 UTC