Skip to content

Instantly share code, notes, and snippets.

@kpgalligan
Last active August 29, 2015 14:07
Show Gist options
  • Save kpgalligan/e24d2e548b3538cab9b0 to your computer and use it in GitHub Desktop.
Save kpgalligan/e24d2e548b3538cab9b0 to your computer and use it in GitHub Desktop.
Coding conventions

Java Style Guide

For now we'll stick to the guide below, with some added color/changes

Tabs

Tabs are 4 spaces

Brackets and Newlines

I prefer brackets on new lines, matched vertically, including else, catch, and finally. To discuss

Avoid blanket reformats

Only reformat lines you're working on, and the whole file if you're doing extensive work. Breaks compares.

m Prefix

Not a fan, but also don't care much. Should make a decision, though.

Links

If unspecified, check here

https://google-styleguide.googlecode.com/svn/trunk/javaguide.html

@kpgalligan
Copy link
Author

Naming standard for xml files, but also id's and whatnot in xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment