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
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
390
Java谷園から逃げ出した話
panini
0
340
Kotlin 1.4-rc
panini
0
200
Fixing Broken Robots - Android Mutation Testing
panini
0
150
Kotlin Multiplatform
panini
2
590
build.gradle.kts
panini
2
2.3k
Kotlin Multi-platform(?)
panini
1
690
Introducing Android P
panini
2
770
Display Cutout
panini
1
550
Other Decks in Technology
See All in Technology
いざ、BSC討伐の旅
nikinusu
2
750
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
170
スクラム成熟度セルフチェックツールを作って得た学びとその活用法
coincheck_recruit
1
130
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
120
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
3次元点群データ「VIRTUAL SHIZUOKA』のオープンデータ化による恩恵と協働の未来/FOSS4G Japan 2024
kazz24s
0
140
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
430
ライブラリでしかお目にかかれない珍しい実装
mikanichinose
2
350
TypeScript、上達の瞬間
sadnessojisan
45
12k
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
1
1.5k
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Building Your Own Lightsaber
phodgson
103
6.1k
Designing the Hi-DPI Web
ddemaree
280
34k
A designer walks into a library…
pauljervisheath
203
24k
Ruby is Unlike a Banana
tanoku
96
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Automating Front-end Workflow
addyosmani
1366
200k
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