Internal coding styleguide for SDSLabs.
Latest commit ba2e472 Jul 1, 2013 @captn3m0 captn3m0 Move Yoda to imgur
Failed to load latest commit information.
assets Fix up html/css Jan 24, 2013
guides Fixes markup of JS styleguide Jul 1, 2013 Move Yoda to imgur Jul 1, 2013
index.html Divide html/css into two guides Jan 24, 2013

Coding Styleguide


Be Consistent.

If you're editing code, take a few minutes to look at the code around you and determine its style. If they use spaces around all their arithmetic operators, you should too. If their comments have little boxes of hash marks around them, make your comments have little boxes of hash marks around them too.

The point of having style guidelines is to have a common vocabulary of coding so people can concentrate on what you're saying rather than on how you're saying it. We present global style rules here so people know the vocabulary, but local style is also important. If code you add to a file looks drastically different from the existing code around it, it throws readers out of their rhythm when they go to read it. Avoid this.