[fpc-devel] Fix CamelCase in unit and method names

Michael Van Canneyt michael at freepascal.org
Fri Mar 23 16:09:53 CET 2018



On Thu, 22 Mar 2018, R0b0t1 wrote:

> On Thu, Mar 22, 2018 at 10:18 AM, Juha Manninen
> <juha.manninen62 at gmail.com> wrote:
>> On Thu, Mar 22, 2018 at 3:15 PM, Denis Kozlov <dezlov at gmail.com> wrote:
>>> Please do... It has caused enough eye (OCD) stress over the years ;)
>>
>> +1
>> Yes, it has bothered also me a lot. I use code completion to get the
>> unit names correctly. Most of them are CamelCase but some are
>> lowercase. The result looks sloppy. Maybe it is OCD, don't know. It
>> bothers me anyway.
>>
>
> I agree it looks sloppy. Something else that has bothered me, but a
> lot less, is the conflicting naming standards.
>
> E.g. Contnrs "should" really be Containers, more like Delphi;

It's called contnrs in delphi as well. 
You're probably confusing the classes based one with the generic based one.

Michael.



More information about the fpc-devel mailing list