首页
(current)
分类
标签
排行榜
搜索
注册
登录
小鹤
Effective Kotlin 中文翻译
Effective Kotlin 中文翻译
语言:中文 | 章节:86 | 阅读:143 | 收藏:0 | 评论:0
Effective Kotlin 中文翻译
阅读
收藏
打赏
分享
举报
目录
评论
空标题文档
第1条:限制可变性
Item 10: Write unit tests
第2条:最小化变量作用域
第3条:尽快消除平台类型
第4条:不要把推断类型暴露给外部
Item 5: Specify your expectations on arguments and state
第6条:尽可能使用标准库中提供的异常
Item 8: Handle nulls properly
第9条:使用 use关闭资源
Chapter 2: Readability
Item 11: Design for readability
Item 13: Avoid returning or operating on Unit?
Item 14: Specify the variable type when it is not clear
Item 15: Consider referencing receivers explicitly
Item 16: Properties should represent state, not behavior
Item 17: Consider naming arguments
Item 18: Respect coding conventions
Chapter 3: Reusability
Item 19: Do not repeat knowledge
Item 20: Do not repeat common algorithms
Item 22: Use generics when implementing common algorithms
Item 23: Avoid shadowing type parameters
Item 24: Consider variance for generic types
Chapter 4: Abstraction design
Item 28: Specify API stability
Item 29: Consider wrapping external API
Item 30: Minimize elements visibility
Item 31: Define contract with documentation
Item 32: Respect abstraction contracts
Chapter 5: Object creation
Chapter 6: Class design
Item 36: Prefer composition over inheritance
Item 39: Prefer class hierarchies to tagged classes
Item 40: Respect the contract of equals
Item 41: Respect the contract of hashCode
Item 42: Respect the contract of compareTo
Item 44: Avoid member extensions
Chapter 7: Make it cheap
Item 45: Avoid unnecessary object creation
Item 47: Consider using inline classes
Item 48: Eliminate obsolete object references
Chapter 8: Efficient collection processing
Effective-Kotlin-zh-CN
Effective Kotlin
引言
第1条:限制可变性
Item 10 Write Unit Tests
第2条:最小化变量作用域
第3条:尽快消除平台类型
第4条:不要把推断类型暴露给外部
Item 5 Specify Your Expectations On Arguments And State
第6条:尽可能使用标准库中提供的异常
Item 8 Handle Nulls Properly
第9条:使用use关闭资源
Introduction
Item 11 Design For Readability
Item 13: Avoid returning or operating on Unit?
Item 15 Consider Referencing Receivers Explicitly
Item 17 Consider Naming Arguments
Item 18 Respect Coding Conventions
Introduction
Item 19 Do Not Repeat Knowledge
Item 20 Do Not Repeat Common Algorithms
Item 23 Avoid Shadowing Type Parameters
Item 24 Consider Variance For Generic Types
Introduction
Item 28 Specify API Stability
Item 29 Consider Wrapping External API
Item 30 Minimize Elements Visibility
Item 31 Define Contract With Documentation
Item 32 Respect Abstraction Contracts
Introduction
Introduction
Item 36 Prefer Composition Over Inheritance
Item 40 Respect The Contract Of Equals
Item 41 Respect The Contract Of Hash Code
Item 42 Respect The Contract Of Compare To
Item 44 Avoid Member Extensions
Introduction
Item 45 Avoid Unnecessary Object Creation
Item 47 Consider Using Inline Classes
Item 48 Eliminate Obsolete Object References
Introduction
Introduction
善良比聪明更重要(评论内容审核后才会显示)
相关书籍
Effective Modern C++ 中文翻译
Kotlin 教程中文翻译
wtfpython 中文翻译
AndroidWeekly 中文翻译
CodePush 中文翻译
paper.js 中文文档 - 帮助手册 - 教程
DS402 中文翻译
rtr4 中文翻译
wafbook 中文翻译
Effective Java 第三版中文翻译 - 有效的 Java
Effective Java 3rd
Effective Java 学习笔记
分享,让知识传承更久远
×
文档下载
×
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档