Open fxleyu opened 6 years ago
来自《Effective Java》 #43 的阅读笔记。
本章要讨论方法设计的几个方面:如何处理参数和返回值,如何设计方法签名,如何为方法编写文档。本章中大多数内容既适用于构造器,也适用于普通的方法。
与第 5 章 #63 类似,本章的焦点也集中在可用性、健壮性和灵活性上。
null
本章要讨论方法设计的几个方面:如何处理参数和返回值,如何设计方法签名,如何为方法编写文档。本章中大多数内容既适用于构造器,也适用于普通的方法。
与第 5 章 #63 类似,本章的焦点也集中在可用性、健壮性和灵活性上。
本章目录
null