GEEKDAXUE
首页
分类
标签
排行榜
在线工具
游客
欢迎来到 GEEKDAXUE
立即登录
注册
小鹤
/
Effective Kotlin 中文翻译
Effective Kotlin 中文翻译
语言
中文
·
章节
86
·
阅读
23336
·
收藏
0
·
评论
0
Effective Kotlin 中文翻译
开始阅读
收藏
打赏
分享
举报
目录
评论
共
85
个章节 ·
0
条评论
01
空标题文档
02
第1条:限制可变性
03
Item 10: Write unit tests
04
第2条:最小化变量作用域
05
第3条:尽快消除平台类型
06
第4条:不要把推断类型暴露给外部
07
Item 5: Specify your expectations on arguments and state
08
第6条:尽可能使用标准库中提供的异常
09
Item 8: Handle nulls properly
10
第9条:使用 use关闭资源
11
Chapter 2: Readability
12
Item 11: Design for readability
13
Item 13: Avoid returning or operating on Unit?
14
Item 14: Specify the variable type when it is not clear
15
Item 15: Consider referencing receivers explicitly
16
Item 16: Properties should represent state, not behavior
17
Item 17: Consider naming arguments
18
Item 18: Respect coding conventions
19
Chapter 3: Reusability
20
Item 19: Do not repeat knowledge
21
Item 20: Do not repeat common algorithms
22
Item 22: Use generics when implementing common algorithms
23
Item 23: Avoid shadowing type parameters
24
Item 24: Consider variance for generic types
25
Chapter 4: Abstraction design
26
Item 28: Specify API stability
27
Item 29: Consider wrapping external API
28
Item 30: Minimize elements visibility
29
Item 31: Define contract with documentation
30
Item 32: Respect abstraction contracts
31
Chapter 5: Object creation
32
Chapter 6: Class design
33
Item 36: Prefer composition over inheritance
34
Item 39: Prefer class hierarchies to tagged classes
35
Item 40: Respect the contract of equals
36
Item 41: Respect the contract of hashCode
37
Item 42: Respect the contract of compareTo
38
Item 44: Avoid member extensions
39
Chapter 7: Make it cheap
40
Item 45: Avoid unnecessary object creation
41
Item 47: Consider using inline classes
42
Item 48: Eliminate obsolete object references
43
Chapter 8: Efficient collection processing
44
Effective-Kotlin-zh-CN
45
Effective Kotlin
46
引言
47
第1条:限制可变性
48
Item 10 Write Unit Tests
49
第2条:最小化变量作用域
50
第3条:尽快消除平台类型
51
第4条:不要把推断类型暴露给外部
52
Item 5 Specify Your Expectations On Arguments And State
53
第6条:尽可能使用标准库中提供的异常
54
Item 8 Handle Nulls Properly
55
第9条:使用use关闭资源
56
Introduction
57
Item 11 Design For Readability
58
Item 13: Avoid returning or operating on Unit?
59
Item 15 Consider Referencing Receivers Explicitly
60
Item 17 Consider Naming Arguments
61
Item 18 Respect Coding Conventions
62
Introduction
63
Item 19 Do Not Repeat Knowledge
64
Item 20 Do Not Repeat Common Algorithms
65
Item 23 Avoid Shadowing Type Parameters
66
Item 24 Consider Variance For Generic Types
67
Introduction
68
Item 28 Specify API Stability
69
Item 29 Consider Wrapping External API
70
Item 30 Minimize Elements Visibility
71
Item 31 Define Contract With Documentation
72
Item 32 Respect Abstraction Contracts
73
Introduction
74
Introduction
75
Item 36 Prefer Composition Over Inheritance
76
Item 40 Respect The Contract Of Equals
77
Item 41 Respect The Contract Of Hash Code
78
Item 42 Respect The Contract Of Compare To
79
Item 44 Avoid Member Extensions
80
Introduction
81
Item 45 Avoid Unnecessary Object Creation
82
Item 47 Consider Using Inline Classes
83
Item 48 Eliminate Obsolete Object References
84
Introduction
85
Introduction
开始记录
善良比聪明更重要(评论内容审核后才会显示)
全部评论
分享,让知识传承更久远
×
文档下载
×
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档