gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: summerTimeFlag vs. SummerTimeFlag


From: Rudolf Schubert
Subject: Re: summerTimeFlag vs. SummerTimeFlag
Date: Thu, 1 Feb 2024 16:04:20 +0100 (CET)

Ok, that means people at QUT with their GPM were not part of that consensus;-)

--
Rudolf Schubert                 \
Kirchstr. 18a                    \  mailto:rudolf@muc.de
82054 Sauerlach                   > http://www.dose.muc.de
Deutschland                      /   (alpine archkiste)
Tel. 08104/908311               /


On Thu, 1 Feb 2024, Benjamin Kowarsch wrote:

Sorry, my description for function and procedure names was upside down. It 
meant to write procedure names
should be verbs and lowercase or camelCase and function names should be nouns 
and start with a capital
letter.

On Thu, 1 Feb 2024 at 22:49, Benjamin Kowarsch <trijezdci@gmail.com> wrote:


On Thu, 1 Feb 2024 at 21:48, Rudolf Schubert wrote:
      Obviously different implementations have a different idea about the
      summerTimeFlag in module SysClock


This is a matter of naming conventions.

In Modula-2, there has been a silent consensus on *some* naming convention 
issues, but there is no
standard naming convention. The consensus is generally that variables, field 
names and parameters
should either be all-lowercase or at least start with a lowercase character, 
i.e. camelCase. There is
also generally consensus that function names should be verbs and lowercase or 
camelCase and procedure
names should be nouns and start with a capital letter. For constants there is 
no consensus, in some
naming conventions they start with a lowercase letter in others with a capital 
letter. And even where
there is consensus, it is not always followed consequently.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]