Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What's New In Kotlin at Google IO 2019 - Summary
Search
Miguel Beltran
May 29, 2019
Programming
0
140
What's New In Kotlin at Google IO 2019 - Summary
Everything that was presented as new in Kotlin at Google IO in 5 minutes
Miguel Beltran
May 29, 2019
Tweet
Share
More Decks by Miguel Beltran
See All by Miguel Beltran
Testing Everything with Flutter
miquelbeltran
1
910
Accessibility in Flutter
miquelbeltran
3
980
Flutter for Web - Codemotion Berlin 2019
miquelbeltran
1
160
Flutter Talk at CFCamp
miquelbeltran
2
620
Flutter X Firestore
miquelbeltran
2
170
Minimalism Driven Development
miquelbeltran
1
200
Flutter, DACHFest & Berlin
miquelbeltran
2
170
DACHFest App: From Idea to Appstore and Play Store in One Day
miquelbeltran
2
90
Sketchnoting & Lettering Workshop
miquelbeltran
3
240
Other Decks in Programming
See All in Programming
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
170
TestingOsaka6_Ozono
o3
0
170
Deno Tunnel を使ってみた話
kamekyame
0
180
Navigating Dependency Injection with Metro
l2hyunwoo
1
160
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
240
Cell-Based Architecture
larchanjo
0
140
愛される翻訳の秘訣
kishikawakatsumi
3
330
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
260
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.3k
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
450
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
150
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
170
Featured
See All Featured
Visualization
eitanlees
150
16k
Designing Experiences People Love
moore
143
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
What does AI have to do with Human Rights?
axbom
PRO
0
1.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
2
3.8k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
93
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
860
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
320
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
25
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Transcript
What’s New in Kotlin Google I/O 2019
Back To The Future: 2017 2017 Keynote → Google announces
official Kotlin support Creation of Foundation: - Lead Language Designer - Control breaking changes via Language Committee
State Of Kotlin 2019 ➔ Preferred language by Google for
Android dev ➔ Best support in Jetpack libraries ◆ KTX, Jetpack Compose, etc. ➔ Used at Google ◆ Drive, Nest, Home, system UI, etc. ➔ Koltin/Native → Now Beta! ➔ Coroutines everywhere
Capturing ‘when’ val response = getResponse() when (response) { OK
-> process(response) CANCELED -> print("canceled") }
Capturing ‘when’ when (val response = getResponse()) { OK ->
process(response) CANCELED -> print("canceled") }
Experimental Annotation @Experimental(level = WARNING) annotation class NewAPI @NewAPI class
MyService val service = MyService()
Contracts fun MyClass?.notNull(): Boolean { contract { returns(true) implies(this@notNull !=
null) } return this != null }
Serializable Annotation @Serializable data class Customer( val id: Int, val
name: String ) Json.stringify(Customer.serializer(), customer)
Flow → Asynchronous cold streams, in preview! val values: Flow<Int>
= flow { delay(1000) emit(42) } values.collect { value -> println("Received $value") }
More Language Features! ➔ Unsigned Ints ➔ Better parallel builds
with Gradle ➔ Incremental Annotation Processor with KAPT ➔ New Type Inference Engine (helps with Rx!) ➔ Progressive Mode (more experimental features)
Better Community Support ➔ Code Samples in Kotlin ➔ New
Online Training w/ Udacity
None
None