1.站在”使用者“角度设计接口
2.三个方面:
a.方法定义粒度
b.参数
c.返回类型(类型/异常)
posted on 2017-08-27 23:26 Xiaox-xin 阅读(180) 评论(0) 收藏 举报