----boundary-LibPST-iamunique-148304602_-_-
Content-type: text/plain
----- Original Message -----
From: "René A. Krywult" <rene.krywult{([at]})nowhere.xy
To: <blackbox{([at]})nowhere.xy
Sent: Friday, October 01, 2004 9:08 AM
Subject: RE: clear or fill memory? & Semicolon question
> >The obvious risk with this technique, is that there is nothing to
> >prevent 'someRecordInitialised' from being accidentally modified.
>
> I think, in this case it would be better to use a type-bound procedure
"Initialize", where the initialization takes place. Also, i believe that it
would be better to initialize even global variables.
>
> Another question: IN the style guide we are told not to write a
semi-colon, if not necessary.
>
> For example:
>
> IF a = b THEN
> Do1;
> Do2;
> Do3
> END;
>
> I've been thinking about this for a while now, and I think this is really
questionable for 2 reasons:
>
> 1) Following the KSS-rule (Keep it simple and stupid), it is more simple
to always write statements the same way, if that is possible. It IS possible
to write the semicolon after Do3, there is no different behavior involved,
and if you have to think of omitting the semicolon, this affords additional
(unnecessary) thought when writing code.
>
> 2) If you decide to add a Do4 in the above, right before the END, you have
to insert a semicolon after the Do3 (which is a line that you would not need
to touch at all!!) and then enter the Do4. So every time you write a new
line, you have to look if there already is a semicolon (which is bad code
according to the style guide) or if there is none.
>
> So why is this recommended? I think it is as useless as were the excessive
BEGINs and ENDs in ancient Pascal.
>
> Any ideas?
>
> Rene
>
> -------------------------------------------
> Versendet durch AonWebmail (webmail.aon.at)
> --------------------------------------------
>
> To unsubscribe from this mailing list, send a message containing the word
"unsubscribe" to:
> blackbox-request{([at]})nowhere.xy
>
> To get a list of valid e-mail commands and instructions on their usage,
send a message containing the word "help" to the above address.
>
> Send any problem reports or questions related to this email list to the
list owner at
> owner-blackbox{([at]})nowhere.xy
>
> Current posting policy:
>
> a) To post you should use the same address by which you are subscribed to
the mailing list. That way, the list server will recognize you as subscriber
and forward your posting immediately, without creating any overhead.
>
> b) If, for some reason, you cannot post from the address, by which you are
subscribed, your message will be moderated to avoid spam. Please understand
that moderation will often cause some delay, in particular over weekends or
holydays.
>
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-148304602_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBccGFyDQotLS0tLSBPcmlnaW5h
bCBNZXNzYWdlIC0tLS0tIFxwYXINCkZyb206ICJSZW5cJ2U5IEEuIEtyeXd1bHQiIDxyZW5lLmty
eXd1bHRAYW9uLmF0PlxwYXINClRvOiA8YmxhY2tib3hAb2Jlcm9uLmNoPlxwYXINClNlbnQ6IEZy
aWRheSwgT2N0b2JlciAwMSwgMjAwNCA5OjA4IEFNXHBhcg0KU3ViamVjdDogUkU6IGNsZWFyIG9y
IGZpbGwgbWVtb3J5PyAmIFNlbWljb2xvbiBxdWVzdGlvblxwYXINClxwYXINClxwYXINCj4gPlRo
ZSBvYnZpb3VzIHJpc2sgd2l0aCB0aGlzIHRlY2huaXF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