
Effective
文章平均质量分 88
J_小浩子
我把在学习过程中的bug发表在优快云上,才疏学浅,班门弄斧。
展开
-
EffectiveJava(Item: 1 to 12)
In the last five weeks. I was reading the “Effective Java”, which is a truly excellent book and I make some notes about it. I have been learning Java for nearly two years. However, I seldom think abou原创 2016-11-06 21:21:43 · 804 阅读 · 1 评论 -
Effective Java(Item: 13 to 22)
Three:Class and Interfaces Item 13: Minimize the accessibility of classes and members The rule is simple: make each class or member as inaccessible as possible. This concept, knows as information原创 2016-11-06 21:29:31 · 875 阅读 · 0 评论 -
Effective Java(Item: 23 to 37)
Four: Generics Item 23: Don’t use raw types in new code 1).If you use raw types, you lose all the safety and expressiveness benefits of generics; 2).You will lose type safety if you use a raw type l原创 2016-11-06 21:36:46 · 1883 阅读 · 0 评论 -
Effective Java(Item: 38 to 56)
Six:Methods Item 38: Check parameters for validity Most methods and constructors have some restrictions on what values may be passed into their parameters. And constructors represent a special cas原创 2016-11-06 21:48:34 · 1313 阅读 · 0 评论 -
Effective Java(Item: 57 to 78)
Eight: Exceptions Item 57: Use exceptions only for exceptional conditions Exceptions are, as their name implies, to be used only for exceptional conditions; they should never be used for ordinary原创 2016-11-06 21:59:41 · 1217 阅读 · 0 评论