开发者

Use case formulation

开发者 https://www.devze.com 2023-01-13 02:20 出处:网络
I was thinkering with the specs for a web service and this question popped into my head. Should the following use case:

I was thinkering with the specs for a web service and this question popped into my head.

Should the following use case:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消