[Oberon] A slightly better procedure

Riza Dindir rdindir at yahoo.com
Mon Dec 13 07:55:31 CET 2010

Hi All,

On Sat, 11 Dec 2010 23:28:31 +0100 Jan Verhoeven wrote,

> Hi Nemo
> On Saturday 11 December 2010 16:32:07 Nemo wrote:
>> A (minor) visual improvement is to write ('9' >= ch) & (ch >='0').
>> Of course! Just like we do in mathematics! It reads a lot faster.
>> This assists in comprehension as you see the upper and lower bounds
>> of the interval at once.  (I have known companies with this rule for
>> programming languages and it works well.)
> Thanks for the hint!

IMHO it might be cleaner to write ('0' <= ch) & (ch <= '9'), by moving the lower bound to the left.

Mit freundlichen gruessen,
Kind Regards,


More information about the Oberon mailing list