Coding Standards by Language

We have language-specific standards for several languages and some of these standards can be applied for related languages as well. For others, we have preferred external standards. If you are doing production work in a language for which we don't have a standard (internal or external) listed below, look for a reliable external standard and add it to this list.

Language Standards
bash Our standards
C Follow Objective-C, ignoring anything that doesn't apply to C.
C++ Use Objective-C for general guidance.
CSS Our standards
Go Our standards
HTML Our standards
Java Follow our Android standards
JavaScript Our standards
Kotlin Our standards
LESS Our standards
Objective-C Our standards
Python Our standards, standards for Django and Django REST Framework, standards for Falcon
Ruby Follow the Ruby Style Guide (rubocop can help enforce this)
sh Our standards
Swift Our standards