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
あなたとKotlin, 今すぐはじめよう - UNTIL.LT #0x02
Search
ちゅるり
June 02, 2023
Programming
0
160
あなたとKotlin, 今すぐはじめよう - UNTIL.LT #0x02
2023年6月1日(木)に行われたUNTIL.LT #0x02の登壇資料です。
ちゅるり
June 02, 2023
Tweet
Share
More Decks by ちゅるり
See All by ちゅるり
おえかきアプリを支える技術
chururi
0
240
Other Decks in Programming
See All in Programming
SIMD Parallel Programming with the Vector API
josepaumard
0
230
try! Swift Tokyo 初参加報告LT
hinakko2
0
240
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
Goのエラースタックトレースの歴史と今後
sonatard
10
1.8k
Netty Chicago Java User Group 2024-04-17
sullis
0
200
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
420
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
510
Try creating your own orderedmap
kazamori
1
210
PHPはいつから死んでいるかの調査
chiroruxx
2
420
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
140
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1k
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Atom: Resistance is Futile
akmur
260
25k
Faster Mobile Websites
deanohume
300
30k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Music & Morning Musume
bryan
41
5.6k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Git: the NoSQL Database
bkeepers
PRO
423
63k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
Transcript
͋ͳͨͱ,PUMJO ࠓ͙͢͡ΊΑ ͏ 無料 Kotlin のダウンロード 6/5*--5Y !DIVSVSJ@
ࣗݾհ ͪΎΔΓʢ!DIVSVSJ@ʣ • ใϝσΟΞֶྨ • ૯߹ֶҬ܈ୈ ྨग़ •
શձ ใॲཧਪਐಛผҕһձ • ֶ࣮ҕ ใϝσΟΞγεςϜہʢKTZTʣ
͍͍ͧ
,PUMJOͱ • l͜ͱΓΜzͱಡΈ·͢ɻ͔Θ͍͍Ͷɻ • εΠεͷ +FU#SBJOT ͕ࣾ։ൃ • 00-
Ͱ͋Δ͕ؔܕϓϩάϥϛϯάݴޠͷଆ໘ • )FMMP 8PSME fun main() { println("Hello, World!") } ͍ʂ
ଟ༷ͳίϯύΠϧλʔήοτ • ,PUMJO+7.ʢ+7.ͱͷ૬ޓӡ༻˕ʣ • ,PUMJO+4ʢ+BWB4DSJQUʣ • ,PUMJO8BTNʢ8FC"TTFNCMZʣ • ,PUMJO/BUJWF
• J04 • "OESPJE • 8JOEPXT • -JOVYʜ ࠷ۙެ։ʂ
+BWBͱͷ૬ޓӡ༻ •+BWBͱ૬ޓʹݺͼग़͢͜ͱ͕Մೳʂ • +BWB ϓϩδΣΫτͷҰ෦ͷΈΛ ,PUMJOͰॻ͚Δʂ +BWB Λͣͭ͢͜͠ ,PUMJOͰϦϓϨΠεՄೳʂ
無料 Kotlin のダウンロード
ΤϨΨϯτͳߏจͱڧྗͳݴޠػೳ val name = when(student) { is MastStudent ->
"mast" is CoinsStudent -> "coins" else -> "other" } XIFOࣜͱ JTԋࢉࢠ val immutable = "immutable" var mutable = "mutable" ໌ࣔతͳ࠶ೖՄೳੑ var nullable: String? = null σϑΥϧτͰ OVMMඇڐ༰ ӳจ๏ʹଇͨ͠ ߏจʂ +BWBʹͳ͍ʂ OVMM҆શʂ
ΤϨΨϯτͳߏจͱڧྗͳݴޠػೳ fun abc(func: (x: Int) -> Unit) { func(10)
} abc { println(it - 10) // 0 println(it + 20) // 30 } লུՄೳͳ ͱ JUมɺQSJOUMO • ԋࢉࢠ Φʔόʔϩʔυ • ֦ுؔ • ίϧʔνϯ ؔΛ ͚ͭͩ ҾʹͱΔؔ
ڧྗͳΤσΟλɿ*OUFMM+ *%&" • ,PUMJOͷ։ൃݩʹΑΔΤσΟλʢ*%&ʣ • (JU)VC$PQJMPU Λ͙྇ίʔυೖྗࢧԉ • ڧྗͳิͱϦϑΝΫλϦϯά
• Α͘͏ߏจͷΤΠϦΞεʹΑΔೖྗ • ॏෳίʔυͷݕग़
Λ͠Α͏