[Oberon] Impartial observation? (Or silly blather from left field?); was: ALU 2015 and 2018.
peter at easthope.ca
peter at easthope.ca
Fri May 13 20:37:12 CEST 2022
In first year computer science, two rules were easily prosecuted by a
teaching assistant.
(1) Use meaningful names. Eg. upperLimit means more than y.
(2) Avoid magic numbers. Eg. AperyConstant is preferable to 1.2020569.
From: "Skulski, Wojciech" <skulski at pas.rochester.edu>
Date: Thu, 12 May 2022 20:29:00 +0000
> ... 1...
Violates (2)?
And "One = 1" would violate (1).
Of course, someone with an established comprehensive understanding
sees a non-issue. The entire stanza containing 1 is understood
immediately.
It's the person lacking comprehensive understanding who has
difficulty.
TTFN, ... P.L.
--
mobile: +1 778 951 5147
VoIP: +1 604 670 0140
48.7693 N 123.3053 W
More information about the Oberon
mailing list