... | ... | @@ -57,10 +57,12 @@ Codestyling is highly subjective, and there are many highly acceptable approache |
|
|
|
|
|
# Symbol naming suggestions
|
|
|
- If some constructs in your code are used often, prefer short names
|
|
|
|
|
|
- For Swift we use Camel Case Classes, lowerCamelCase for everything else
|
|
|
|
|
|
# Layout
|
|
|
- Code should be less wide than the number of characters on a small laptop screen. That means around 160 characters. Following this rule will mean very few people will need to scroll sideways to see your code.
|
|
|
|
|
|
- We encourage you to put multiple lines of code that do a single thing on one line, as long as things don't get too cluttered.
|
|
|
- Avoid trailing whitespace
|
|
|
|
... | ... | |