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
710
Convert Java file to Kotlin file ⌥⇧⌘K
Kotlin一行も書かずKotlin率上げられる方法
Panini
May 30, 2018
Tweet
Share
More Decks by Panini
See All by Panini
panini
1
180
panini
0
210
panini
0
130
panini
0
65
panini
2
220
panini
2
1.7k
panini
1
540
panini
2
660
panini
1
370
Other Decks in Technology
See All in Technology
ocise
0
110
prog893
14
3.6k
am7cinnamon
1
270
kenichimunezawa
0
790
aizurage
0
110
gunnargrosch
0
200
mohira
0
240
ishiayaya
PRO
0
780
shigeruoda
2
220
michigari
0
110
tutsunom
1
320
yuuu
0
120
Featured
See All Featured
holman
462
280k
shpigford
165
19k
jeffersonlam
330
15k
yeseniaperezcruz
302
31k
philhawksworth
192
8.9k
rmw
12
860
destraynor
146
19k
cherdarchuk
71
260k
rasmusluckow
318
18k
lauravandoore
440
28k
jcasabona
8
590
roundedbygravity
242
21k
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