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
Convert Java file to Kotlin file ⌥⇧⌘K
Search
Panini
May 30, 2018
Technology
0
1.1k
Convert Java file to Kotlin file ⌥⇧⌘K
Kotlin一行も書かずKotlin率上げられる方法
Panini
May 30, 2018
Tweet
Share
More Decks by Panini
See All by Panini
Kotlin 1.5 preview
panini
1
460
Java谷園から逃げ出した話
panini
0
390
Kotlin 1.4-rc
panini
0
240
Fixing Broken Robots - Android Mutation Testing
panini
0
200
Kotlin Multiplatform
panini
2
670
build.gradle.kts
panini
2
2.4k
Kotlin Multi-platform(?)
panini
1
750
Introducing Android P
panini
2
850
Display Cutout
panini
1
660
Other Decks in Technology
See All in Technology
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
1
270
漸進的過負荷の原則
sansantech
PRO
3
430
VRTと真面目に向き合う
hiragram
1
520
SMTP完全に理解した ✉️
yamatai1212
0
130
re:Inventで出たインフラエンジニアが嬉しかったアップデート
nagisa53
4
230
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
240
3分でわかる!新機能 AWS Transform custom
sato4mi
1
270
いよいよ仕事を奪われそうな波が来たぜ
kazzpapa3
3
310
What happened to RubyGems and what can we learn?
mikemcquaid
0
140
フロントエンド開発者のための「厄払い」
optim
0
180
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
510
MySQLのJSON機能の活用術
ikomachi226
0
120
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
91
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
130
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
84
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
44
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
320
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Claude Code のすすめ
schroneko
67
210k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
How to Talk to Developers About Accessibility
jct
2
120
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可愛い •
[email protected]
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