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
300
あなたとKotlin, 今すぐはじめよう - UNTIL.LT #0x02
2023年6月1日(木)に行われたUNTIL.LT #0x02の登壇資料です。
ちゅるり
June 02, 2023
Tweet
Share
More Decks by ちゅるり
See All by ちゅるり
絵文字を実行する
chururi
1
93
JVM は Web フロントエンド開発の夢を見るか?
chururi
0
1.2k
入門:JVM 〜5 分で完全に理解する JVM の仕組み〜
chururi
0
170
おえかきアプリを支える技術
chururi
0
390
Other Decks in Programming
See All in Programming
オープンソースコントリビュート入門
_katsuma
0
120
カウシェで Four Keys の改善を試みた理由
ike002jp
1
120
Bedrock×MCPで社内ブログ執筆文化を育てたい!
har1101
7
1.4k
The New Developer Workflow: How AI Transforms Ideas into Code
danielsogl
0
110
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
770
状態と共に暮らす:ステートフルへの挑戦
ypresto
3
1.1k
20250426 GDGoC 合同新歓 - GDGoC のススメ
getty708
0
110
The Implementations of Advanced LR Parser Algorithm
junk0612
2
1.3k
Rubyの!メソッドをちゃんと理解する
alstrocrack
1
120
AIコーディングの理想と現実
tomohisa
35
37k
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
110
State of Namespace
tagomoris
5
2.4k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
How GitHub (no longer) Works
holman
314
140k
Why Our Code Smells
bkeepers
PRO
336
57k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.4k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
The Pragmatic Product Professional
lauravandoore
33
6.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
BBQ
matthewcrist
88
9.6k
4 Signs Your Business is Dying
shpigford
183
22k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
590
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 Λ͙྇ίʔυೖྗࢧԉ • ڧྗͳิͱϦϑΝΫλϦϯά
• Α͘͏ߏจͷΤΠϦΞεʹΑΔೖྗ • ॏෳίʔυͷݕग़
Λ͠Α͏