Effective Kotlin - Marcin Moskala

Effective Kotlin

Marcin Moskala

出版社

Kt. Academy

出版时间

2019-08-25

ISBN

9788395452819

评分

★★★★★
书籍介绍

Kotlin is a powerful and pragmatic language, but it's not enough to know about its features. We also need to know when they should be used and in what way. This book is a guide for Kotlin developers on how to become excellent Kotlin developers. It presents and explains in-depth the best practices for Kotlin development. Each item is presented as a clear rule of thumb, supported by detailed explanations and practical examples.

Marcin Moskala is an experienced developer and Kotlin trainer. He is the founder of the Kt. Academy, an official JetBrains partner for teaching Kotlin, author of the book "Android Development with Kotlin", speaker at many international conferences, and programming library creator and contributor.

目录
Introduction: Be pragmatic
Part 1: Good code
Chapter 1: Safety
Item 1: Limit mutability
Item 2: Minimize the scope of variables

显示全部
用户评论
主要讲解kotlin特性,作为Effective XXX系列的书籍,达不到Effective Java那种深度,当成kotlin编程tips合集随时查阅还OK。
虽然最后kotlin也是翻成java bytecode在JVM上执行, 但还是引入了很多java高级版本中的性能 并把很多最佳实践做成了语言特性 还是值得一看 毕竟 用 jetbrain 的java自动转kotlin 只是做了syntax 映射 并没用到 kotlin 最佳实践
学到了很多,还有一些地方我没有好好理解,需要继续学习,但一直很痛苦,很困。。让我想起来为了学校勉强看书那个感觉。。我懂以后这种书也必须看。。但我还是想多看小说。。 (并不代表我不推荐,只是信息量多,不合适赶紧看,而我这次有deadline)
收藏