diff --git a/README.md b/README.md index c4018a9..99bd37c 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ then open a pull request. :zap: * Tabs, not spaces. * End files with a newline. * Make liberal use of vertical whitespace to divide code into logical chunks. + * Don’t leave trailing whitespace. + * Not even leading indentation on blank lines. + #### Prefer implicit getters on read-only properties and subscripts @@ -74,6 +77,7 @@ internal struct TheFez { _Rationale:_ It's rarely appropriate for top-level definitions to be specifically `internal`, and being explicit ensures that careful thought goes into that decision. Within a definition, reusing the same access control specifier is just duplicative, and the default is usually reasonable. + #### Only explicitly refer to `self` when required When accessing properties or methods on `self`, leave the reference to `self` implicit by default: