Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
150
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
930
Accessibility in Flutter
miquelbeltran
3
1k
Flutter for Web - Codemotion Berlin 2019
miquelbeltran
1
170
Flutter Talk at CFCamp
miquelbeltran
2
650
Flutter X Firestore
miquelbeltran
2
180
Minimalism Driven Development
miquelbeltran
1
220
Flutter, DACHFest & Berlin
miquelbeltran
2
180
DACHFest App: From Idea to Appstore and Play Store in One Day
miquelbeltran
2
92
Sketchnoting & Lettering Workshop
miquelbeltran
3
260
Other Decks in Programming
See All in Programming
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
170
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
200
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
110
SourceGeneratorのマーカー属性問題について
htkym
0
170
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
210
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
450
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
130
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
660
TipKitTips
ktcryomm
0
160
Codex の「自走力」を高める
yorifuji
0
1k
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.5k
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
210
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
How to make the Groovebox
asonas
2
2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
980
Tell your own story through comics
letsgokoyo
1
830
Facilitating Awesome Meetings
lara
57
6.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
80
Color Theory Basics | Prateek | Gurzu
gurzu
0
240
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
230
A designer walks into a library…
pauljervisheath
210
24k
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