Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-11

Code Style in FPC

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Carl-Philip Haensch

Hi,

what code style does fpc have?
There is a lot of inconsistency in the units, for example the assembler units with "tai" in lower case everything and in other rtl units a clear camel case..

Is there a style guideline? (link)

thanks

Reply by email

Sven Barth
to Carl-Philip Haensch
Carl-Philip Haensch wrote 8 lines
Hi, what code style does fpc have? There is a lot of inconsistency in the units, for example the assembler units with "tai" in lower case everything and in other rtl units a clear camel case.. Is there a style guideline? (link)

For the compiler there is this: http://wiki.freepascal.org/Coding_style

Regarding RTL, FCL, etc... well... I think a core dev should answer that ^^ (I usually go with "use a style similar to the surrounding one" in those units...)

Regards,
Sven

Reply by email