Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi Coding Standards [duplicate]

I am in the process of writing (down) our companies coding standards for Delphi programming, so what would anyone suggest to have as a basis, anything that you would recommend to use / not use ?

like image 625
mmmm Avatar asked Apr 19 '09 10:04

mmmm


2 Answers

I used Delphi Language Coding Standards Document as a basis for an internal document.

The Object Pascal Style Guide could probably be termed the "official" one, I think - as far as there is such a thing.

like image 175
dommer Avatar answered Sep 18 '22 10:09

dommer


Be careful not getting too anal about forcing standards. You might want to collect a few sample examples from your most experienced programmers, get them to agree, and use those as templates for everyone.

Jeff Atwood recently had an interesting Blog entry about just a single aspect of standards: "Death to the Space Infidels!" and in there he says:

"It doesn't actually matter which coding styles you pick. What does matter is that you, and everyone else on your team, sticks with those conventions and uses them consistently."

like image 28
lkessler Avatar answered Sep 18 '22 10:09

lkessler