1

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?

4

2 回答 2

3

I'd go for the split option, this way you have way more control over each process and it's also easier to maintain.

于 2010-08-24T16:53:07.073 回答
3

Unless there is a case where you want them to happen independently I can't think of a reason to split them.

于 2010-08-24T16:54:15.327 回答