[Oberon] Identifiers and Capitalization
Thomas Frey
thomas.frey at alumni.ethz.ch
Mon Mar 13 08:26:42 CET 2006
For the newer Modules in Native Oberon and especially in Bluebottle,
normally the following convention was used:
Constant/Static "things" start capital. I.E. Modules, Types,
Constants, Procedures.
Variables start small : Variables, Fields, Parameters
Variables used as Constants because there is no static way for
initialization in the Language (Records/Arrays) are used
inconsistently upper/lower case.
--Thomas
On 3/13/06, August Karlstrom <fusionfive at comhem.se> wrote:
> Hi everyone,
>
> According to the recommended naming conventions at
>
> http://www.oberon.ethz.ch/faqlang.html#name
>
> variables and constants should begin with a lower case letter. When I
> look at the module interfaces in the basic system at
>
> http://www.oberon.ethz.ch/ethoberon/defs/
>
> the choice between starting an constant/variable/record field/formal
> parameter with lower or upper case seems to be more or less random. Am I
> missing something?
>
>
> Regards,
>
> August
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
More information about the Oberon
mailing list