----boundary-LibPST-iamunique-2049113651_-_-
Content-type: text/plain
>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.
----boundary-LibPST-iamunique-2049113651_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaG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