CodingStandardList
Last edit July 23, 2013
A list of different
CodingStandard
s.
The great thing about standards is there's so many to choose from!
C++ Coding Standards
http://www.possibility.com/Cpp/CppCodingStandard.html
: some have found this c++ coding standard useful.
Ellemtel guidelines -
http://www.doc.ic.ac.uk/lab/cplus/c++.rules/
Taligent -
http://pcroot.cern.ch/TaligentDocs/TaligentOnline/DocumentRoot/1.0/Docs/books/WM/WM_3.html
JSF++ -
http://www.research.att.com/~bs/JSF-AV-rules.pdf
HIGH·INTEGRITY C++ -
http://www.codingstandard.com
Java
Sun's (somewhat dated) -
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
(and see the comment in
http://developer.java.sun.com/developer/community/chat/JavaLive/2002/jl0212.html
(
BrokenLink
, redirects to
http://java.sun.com/community/index.html
)
; search for "coding conventions")
DougLea
's Coding Standards (
http://gee.cs.oswego.edu/dl/html/javaCodingStd.html
)
ScottAmbler
's Coding Standards (
http://www.ambysoft.com/javaCodingStandards.html
)
WilliamWake
's
single-page
standard (
http://www.xp123.com/xplor/xp0002f/codingstd%2Egif
)
You can URL-escape the dot in '.gif' to stop wiki from realising it's a link to an image - old Jedi web trick ('This is not the file type you're looking for...')
InfospheresCodingStandardForJava
ChiMu
OO and Java Development: Guidelines and Resources(
http://www.chimu.com/publications/javaStandards/index.html
)
Geosoft
's Java Programming Style Guidelines (
http://geosoft.no/javastyle.html
)
Netscape
's Software Coding Standards Guide for Java (
http://developer.netscape.com/docs/technote/java/codestyle.html
)
SQL
well-known 'AMIT' guide -
http://www.wsl.ch/relics/rauminf/riv/datenbank/general/tinalondon.html
C
GNU standards -
http://www.gnu.org/prep/standards_toc.html
MISRA C -
http://www.misra.org.uk/
JavaScript
Probably
JavaScriptCodingStandard
PHP
PEAR Coding Standards
http://pear.php.net/manual/en/standards.php
Visual Basic
(Or should I just call it M$?)
Don't laugh... Someone had to put it in --
DaveBeer
Microsoft coding conventions -
http://msdn2.microsoft.com/en-us/library/aa240822
(VS.60).aspx
Not purely VB .. but still M$ -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsgen/html/cfr.asp
Hungarian notation in Visual Basic -
http://support.microsoft.com/kb/173738
OCaml
Very detailed with pro's & con's of different variants -
http://caml.inria.fr/resources/doc/guides/guidelines.en.html
"The wonderful thing about standards is that there are so many to choose from." -- Rob Haffernik
Sun's (somewhat dated) -
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
Why is it somewhat dated?
See the URL following the Sun coding conventions URL above.
perlstyle --
http://www.perldoc.com/perl5.8.0/pod/perlstyle.html
Also see
BadCodingStandards
.