Google officially supports Kotlin from May 2017

Kotlin is the “New Java” officially supported by Google from May 2017! It is less verbose (罗唆) than Java which is clumsy with boilerplates (样板),  interoperates with Java on JVM, with modern functional programming features, and most importantly, it is Multi-Platform : Java, Android, Javascript,  and future versions run as native codes on iOS, MacOS and Linux (Microsoft – work in progress). This eliminates the current headache of having to re-write the same applications for different platforms in different languages.

Google makes Kotlin a first-class language for writing Android apps

https://blog.plan99.net/kotlin-fp-3bf63a17d64a

Why Kotlin ?https://www.programiz.com/sites/tutorial2program/files/kotlin.jpg
Kotlin Tutorials

Get Started: https://developer.android.com/kotlin/get-started.html
https://kotlinlang.org/docs/tutorials/

https://developer.android.com/kotlin/get-started.html

Hands-on: 

https://try.kotlinlang.org/#/Kotlin%20Koans/Introduction/Hello,%20world!/Task.kt
Download Android Studio using Kotlin (2 ways)

  1. Android Studio 3.0 Beta (Buggy Preview, not encouraged!)
  2. Stable Android Studio (2.3.2), manually add Kotlin plug-in (Preferred way)

http://www.androidauthority.com/introduction-to-kotlin-for-android-775678/

Functional Programming with Kotlin: ( Map, filter, apply, lazy sequence, reactive programming…)

https://blog.jetbrains.com/kotlin/2015/11/webinar-recording-functional-programming-with-kotlin/

Development IDE: “Android Studio”

  • It is a version of “Intelligent IDEA”
  • Bundled with Build Tool “Gradle”

Resources:

https://antonioleiva.com/kotlin-android-developers-book/

https://www.amazon.com/gp/aw/s/ref=is_s_ss_i_5_6?k=kotlin+for+android+developers&sprefix=kotlin

https://m.signalvnoise.com/using-kotlin-to-make-android-apis-fun-again-14690975afb6

知乎: 最为有效的Kotlin学习方法:

1. 先快速浏览:Basic Syntax – Kotlin Programming Language

2. 对于Java选手,附加看这个:From Java to Kotlin

3. 上手跟着这个tutorial一步一步完成它的练习:Try Kotlin (Koan)

4. 把 Cheatsheet 打出来贴在显示器旁边没事看看:https://pbs.twimg.com/media/C0yRbHLUUAAgacl.jpg

5. 文字版本 Cheatsheet: https://gist.github.com/dodyg/5823184 https://gist.github.com/dodyg/5616605

https://www.zhihu.com/question/37288009/answer/172132665

知乎: Kotlin 之旅 (it.xxx, sequence, filter, map …)

Advertisements

One thought on “Google officially supports Kotlin from May 2017

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s