[fpc-devel] Fix CamelCase in unit and method names
Denis Kozlov
dezlov at gmail.com
Thu Mar 22 14:15:20 CET 2018
Please do... It has caused enough eye (OCD) stress over the years ;)
Denis
On 22/03/2018 11:32, Ondrej Pokorny wrote:
> Hello,
>
> will a patch be applied that fixes CamelCase in unit and method names
> and other identifiers?
>
> Example:
>
> dateutils -> DateUtils
> sysutils -> SysUtils
> typinfo -> TypInfo
> contnrs -> Contnrs
> strutils -> StrUtils
> EnterCriticalsection -> EnterCriticalSection
> DoneCriticalsection -> DoneCriticalSection
> LeaveCriticalsection -> LeaveCriticalSection
> TryEnterCriticalsection -> TryEnterCriticalSection
> (Funnily enough InitCriticalSection is correct.)
>
> TPoint.x -> TPoint.X
> TPoint.y -> TPoint.Y
>
> (For unit names: of course only the unit definition name will be
> changed, not the file name).
>
> Ondrej
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list