Hacker News new | ask | show | jobs
by smarx 4466 days ago
One of the big advantages (not really used in this sample) is conflict resolution. With a text file, if you make changes on two different devices while one (or both) is offline, you'd end up with a conflict and two versions of the text file.

With datastores, the changes are automatically merged according to developer-specified conflict resolution rules.