Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Convert Java file to Kotlin file ⌥⇧⌘K
Panini
May 30, 2018
Technology
0
690
Convert Java file to Kotlin file ⌥⇧⌘K
Kotlin一行も書かずKotlin率上げられる方法
Panini
May 30, 2018
Tweet
Share
More Decks by Panini
See All by Panini
panini
0
200
panini
0
130
panini
0
57
panini
2
200
panini
2
1.7k
panini
1
530
panini
2
650
panini
1
360
panini
1
930
Other Decks in Technology
See All in Technology
ama_ch
0
3.5k
unifa_dev
0
370
tzkoba
0
390
minamizaki
0
600
line_developers
PRO
3
500
fujiihda
8
1k
cmwatanabeseigo
0
340
toshinoritakai
1
200
hirosys
0
130
mmarukaw
0
1.4k
ray_30cm_ns
0
280
ocise
1
940
Featured
See All Featured
jponch
103
5k
notwaldorf
13
1.5k
cassininazir
347
20k
bkeepers
321
53k
productmarketing
5
650
qrush
285
18k
paulrobertlloyd
71
3.6k
mojombo
358
62k
malarkey
393
60k
reverentgeek
168
7.1k
chriscoyier
780
240k
davidbonilla
69
3.5k
Transcript
Convert Java file to Kotlin file ⌥⇧⌘K Kotlin愛好会 #1
About Me • Matthew Vern / Panini • Twitter: @callipan
Github: panpanini • Android Engineer • Kotlin可愛い
About Me • Matthew Vern / Panini • Twitter: @callipan
Github: panpanini • Android Engineer • Kotlin可愛い • kotlin@kawaii.com
How I started Kotlin • Android Java & iOS Objective-C
• Swift announced • Android Swift • First Kotlin: M13? (~09/2015) • Clone sample project
How I started Kotlin
How I started Kotlin Problems: • I don’t understand the
language
How I started Kotlin Problems: • I don’t understand the
language • I don’t understand the intention of the code
None
Convert Java file to Kotlin file • Automatic conversion •
About 90% effective • Easier than writing by hand
Demo
Summary • Data classes are nice • Lateinit is useful
• Lazy is useful Kotlin-like writing style: • Pass functions instead of Single Abstract Method Interfaces
Summary • MokuMokuNotes_Android → • Quest based learning tool for
writing a basic Android app in Kotlin