Skip to content

Instantly share code, notes, and snippets.

@sursir
Last active August 29, 2015 14:22
Show Gist options
  • Save sursir/0e96e2b88c771e36465e to your computer and use it in GitHub Desktop.
Save sursir/0e96e2b88c771e36465e to your computer and use it in GitHub Desktop.
程序设计业务粒度上的疑惑

在设计的问题上我陷入了封装陷阱,粒度划分陷阱

功能以*逻辑功能完成划分 不能以部件构成*来划分

功能有实现所需要的*部件, 可以单独封装部件, 但是不能在部件内出现外层逻辑功能*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment