Skip to content
Permalink
Browse files

Remove useless comment

  • Loading branch information...
groue committed May 26, 2019
1 parent 05a547f commit b6b1f9b3e8020cb9d5ad17070549c274924f4cd2
Showing with 0 additions and 8 deletions.
  1. +0 −8 Documentation/GoodPracticesForDesigningRecordTypes.md
@@ -518,14 +518,6 @@ class ImprovedLibraryManager {
}
```

On OSX, applications should be ready to handle database errors, because the user can mess with the file system. However, on iOS, most applications just can not possibly recover from database errors. In this case, just give yourself a break and use `try!`:

```swift
// What could we possibly tell the user when SQLite gets corrupted?
// Our app will have so many more bugs than SQLite anyway.
let author = try! libraryManager.author(id: 123)
```


### Thread-Safety is also an Application Concern

0 comments on commit b6b1f9b

Please sign in to comment.
You can’t perform that action at this time.