Lazarus coding style guide -


style guide?

other http://wiki.freepascal.org/coding_style there style guide represents style followed notable , large body of work in lazarus ( and/or fpc and/or delphi) or sort of widespread concensus.

example

i'm looking things such as

  • names of literal constants should in uppercase.
  • names of variables should use camelcase initial lowercase
  • indent begin on line after if

the above example. i'm aware of well-supported conventions in languages java , perl not of predominant convention programs written using lazarus or delphi.

purpose

my intent is

  • try adopt common style code write
  • have style not of surprise majority of programmers might 1 day read it.

i'm not working in business has established standards.

as detailed style guide i'm considering object pascal style guide charles calvert. it's object pascal free pascal child of. in fact, of fpc units respect rules mentioned there.

this article documents standard style formatting delphi code. based on conventions developed delphi team.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -