I was thinkering with the specs for a web service and this question popped into my head.
Should the following use case:
- A user can vote on other users' posts so to modify the latters' reputation
开发者_开发技巧
be split into two use cases?
- A user can vote other users' posts
- When a user gets voted, her reputation changes accordingly
Wich one is better formulated?
I'd go for the split option, this way you have way more control over each process and it's also easier to maintain.
Unless there is a case where you want them to happen independently I can't think of a reason to split them.
精彩评论