Skip to main content

Wade Armstrong

Recommended Code Standards #

In my experience, these are standards that make code

Try to use these as you write code. While the world is never nice and clean, and you'll break all of these sometime, try to at least do so consciously (and explain why, in your PR).

Core Concepts #

Applying These Concepts To Details #

Rules of Thumb #

if (happy) {
do 1st happy thing;
...
do nth happy thing;
} else {
throw tantrum();
}

try

if (!happy) {
throw tantrum();
}
do 1st happy thing;
...
do nth happy thing;

Usefulness #

Readability #

Performance #

Security #

Testing #

Cleanliness #

Formatting #