info:java_style
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| info:java_style [2015/02/18 16:19] – created moritz | info:java_style [2015/03/10 08:20] (current) – [Objects] moritz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Java code style ====== | ====== Java code style ====== | ||
| + | |||
| + | Java does not enforce a particular code quality language-wise and therefor programmers should follow certain guidelines when writing code. As all guidelines, they might be violated for a good reason. | ||
| + | |||
| + | * [[http:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Classes ===== | ||
| + | |||
| + | * All public class fields must be '' | ||
| + | * Class members have to be named uppercase with underscore between words: '' | ||
| + | |||
| + | ===== Objects ===== | ||
| + | |||
| + | * All fields must be '' | ||
| + | * All fields must be '' | ||
| + | |||
| + | ===== Constructors ==== | ||
| + | |||
| + | * Constructors must not call any method unless it is '' | ||
| + | * Fields assigned in the constructor must be '' | ||
info/java_style.1424276384.txt.gz · Last modified: by moritz
