Skip to content
This repository contains the complete definition of NimbleUser's coding standards for source code in the Apex Programming Language on the Salesforce Force.com platform
Branch: master
Clone or download
Latest commit f158c9b Jun 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
assets Added TOC support and ability to link directly to sections. May 10, 2017
.gitignore Initial commit. Feb 13, 2017
Gemfile Initial commit. Feb 13, 2017
Gemfile.lock
LICENSE.md Okay, I promise, final cleanup for now Mar 3, 2017
README.md SOQL-Syntax: add clarification to formatting of in-line SOQL and SOSL… Jul 12, 2017
_config.yml Added repo URL to guide, updated UA. Mar 8, 2017
index.md Update index.md Jun 8, 2018

README.md

NimbleUser Apex Style Guide

Introduction

This repository contains the complete definition of NimbleUser's coding standards for source code in the Apex Programming Language. An Apex source file is described as being in NimbleUser Style if and only if it adheres to the rules herein.

Like other programming style guides, the issues covered span not only aesthetic issues of formatting, but other types of conventions or coding standards as well. However, this document focuses primarily on the hard-and-fast rules that we follow universally, and avoids giving advice that isn't clearly enforceable (whether by human or tool).

This is a fork of the Google Java Style Guide, adapted and ported to the Apex Programming Language by Craig Ceremuga with the immensely helpful input and feedback of the entire NimbleUser technical consulting and engineering staff.

The Guide

The guide is published as a GitHub Pages site for convenient access at nimbleuser.github.io/apex-style-guide/.

Release Notes

  • 7/12/2017
    • New standards regarding SOQL syntax have been added courtesy of @nflear.
  • 6/5/2017
    • New sections on testing, mocking added.
  • 5/10/2017
    • Table of contents added.
    • Clicking on a heading will copy a direct URL for that section to your clipboard.

License

This guide is licensed under the CC-By 3.0 License, which encourages you to share these documents. See https://creativecommons.org/licenses/by/3.0/ for more details.

cc license

You can’t perform that action at this time.