8000 Rationale · smashcoding/swift-style-guide@7bd7da7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bd7da7

Browse files
committed
Rationale
1 parent 815bcc6 commit 7bd7da7

File tree

< 8000 span role="tooltip" aria-label="Collapse file tree" id="expand-button-file-tree-button" class="Tooltip__TooltipBase-sc-17tf59c-0 hWlpPn tooltipped-se">

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ let timeToCoffee: NSTimeInterval = 2
9090
func makeCoffee(type: CoffeeType) -> Coffee { ... }
9191
```
9292

93+
_Rationale:_ The type specifier is saying something about the _identifier_ so
94+
it should be positioned with it.
95+
9396
#### Only explicitly refer to `self` when required
9497

9598
When accessing properties or methods on `self`, leave the reference to `self` implicit by default:

0 commit comments

Comments
 (0)
0