Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Delphi coding standards document(s) do you follow? [closed]

Tags:

What Delphi coding standards document(s) do you follow?

Our company is looking at putting some better coding standards in place, to improve our code’s readability, reviewability, and maintainability. We’ve come across CodeGear’s “Object Pascal Style Guide”, but it hasn’t been touched in quite a while and I imagine a number of people have made some local improvements or additions. I’ve come across some published variations and other documents, which I will list, below.

NB: I do not want to start a style war. I just want to know what standards you follow, and why.

Thanks.


UPDATE: Well, the "JCL Delphi Language Style Guide" seems to be the clear winner! Thanks!
like image 609
Mattias Andersson Avatar asked Nov 04 '08 18:11

Mattias Andersson


1 Answers

Project JEDI Delphi Language Style Guide With JCL Additions

(An extension of CodeGear’s “Object Pascal Style Guide”)

https://wiki.delphi-jedi.org/wiki/Project_JEDI_Delphi_Language_Style_Guide

(Thanks to Jeroen Pluimers and AmigoJack for reporting that the old links had died. And in case this latest link also dies, here's its Internet Archive link, for good measure.)

like image 119
Mattias Andersson Avatar answered Sep 20 '22 15:09

Mattias Andersson