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
970
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
380
Java谷園から逃げ出した話
panini
0
300
Kotlin 1.4-rc
panini
0
180
Fixing Broken Robots - Android Mutation Testing
panini
0
130
Kotlin Multiplatform
panini
2
520
build.gradle.kts
panini
2
2.1k
Kotlin Multi-platform(?)
panini
1
660
Introducing Android P
panini
2
750
Display Cutout
panini
1
490
Other Decks in Technology
See All in Technology
プロデザ! BY リクルート vol.18_リクルートのリサーチ実践組織「リサーチブーストコミュニティ」
recruitengineers
PRO
3
260
20240418_Google ColabにLLMが搭載されたようなのでPython x データ分析の勉強方法を考えてみる
doradora09
0
120
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
980
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
150
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
190
「手動オペレーションに定評がある」と言われた私が心がけていること / phpcon_odawara2024
blue_goheimochi
2
370
自動生成を活用した、運用保守コストを抑える Error/Alert/Runbook の一元集約管理 / Centralized management of Error/Alert/Runbook to minimize operational costs using automated code generation
biwashi
12
2.3k
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
210
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
130
生産性向上チームの紹介
cybozuinsideout
PRO
1
840
20240416_devopsdaystokyo
kzkmaeda
1
210
MySQL の SQL クエリチューニングの要所を掴む勉強会
andpad
2
5.5k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
16
1.4k
Ruby is Unlike a Banana
tanoku
96
10k
Debugging Ruby Performance
tmm1
70
11k
GraphQLとの向き合い方2022年版
quramy
31
12k
RailsConf 2023
tenderlove
2
530
StorybookのUI Testing Handbookを読んだ
zakiyama
12
4.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Gamification - CAS2011
davidbonilla
76
4.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.4k
What the flash - Photography Introduction
edds
64
11k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
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