业务接口设计总结

1.站在”使用者“角度设计接口

2.三个方面:

  a.方法定义粒度

  b.参数

  c.返回类型(类型/异常)

posted on 2017-08-27 23:26  Xiaox-xin  阅读(170)  评论(0编辑  收藏  举报

导航