[Oberon] Oberon7 - coding style
joerg.straube at iaeth.ch
Mon Jan 14 11:37:01 CET 2019
Different people have different styles:
some people write END ; (with space) other people prefer END; (without space)
Some people write first statements directly on the same line after the BEGIN, other people prefer to start the first statement on a new line after the BEGIN.
All so called „white spaces“ (newline, spaces, tabs) are purely for human readabilty reasons. The compiler compresses all of them to ONE delimiter.
As you detected these differences you can assume different people wrote the code. Or different style preferences evolved over time.
> Am 14.01.2019 um 09:08 schrieb Tomas Kral <thomas.kral at email.cz>:
> I have noticed a certain coding style pattern. Some statements ending
> in END ;
> NOTE blank after end before a semicolon.
> It is visually neat, but has it some reason compiler-wise, human
> readability-wise? It is not consistent
> throughout PO2013, some code parts have it some not.
> Tomas Kral <thomas.kral at email.cz>
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
More information about the Oberon