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の短絡評価について
Search
tommykw
June 28, 2018
Programming
0
460
Kotlinの短絡評価について
tommykw
June 28, 2018
Tweet
Share
More Decks by tommykw
See All by tommykw
ポートフォリオを作る
tommykw
0
150
Kotlin Compiler Plugin 入門
tommykw
0
87
Kotlin Compiler Plugin のワークフローを知る
tommykw
1
2.2k
コネヒトの健全性を支えるGithub Actionsの事例紹介
tommykw
0
1.9k
スクラムガイドの理解を深めるためのeduScrumガイド
tommykw
0
1.7k
改めて学ぶContracts
tommykw
10
7k
初めてのKotlinコントリビュート
tommykw
1
710
Kotlin Issueを投げてみよう!
tommykw
0
3.3k
AndroidのタグView作り
tommykw
0
3k
Other Decks in Programming
See All in Programming
ボトムアップの生成AI活用を推進する社内AIエージェント開発
aku11i
0
1.4k
Amazon Verified Permissions実践入門 〜Cedar活用とAppSync導入事例/Practical Introduction to Amazon Verified Permissions
fossamagna
2
110
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
3
1.7k
Blazing Fast UI Development with Compose Hot Reload (Bangladesh KUG, October 2025)
zsmb
2
440
EMこそClaude Codeでコード調査しよう
shibayu36
0
520
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
140
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
5
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
640
マンガアプリViewerの大画面対応を考える
kk__777
0
440
Dive into Triton Internals
appleparan
0
370
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
2
260
One Enishi After Another
snoozer05
PRO
0
170
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Faster Mobile Websites
deanohume
310
31k
How to train your dragon (web standard)
notwaldorf
97
6.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Done Done
chrislema
186
16k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
900
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
210
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
191
56k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Building Applications with DynamoDB
mza
96
6.7k
Docker and Python
trallard
46
3.6k
Transcript
$POOFIJUP*OD ϚϚͷҰาΛࢧ͑Δ ,PUMJOͷབྷධՁʹ͍ͭͯ
ా݈ೋ !UPNNZLX !UPNNZLX ίωώτגࣜձࣾ"OESPJE&OHJOFFS
αʔϏεհ ϚϚϦ
ಥવͰ͕͢ɺ࣍ͷͭͷ,PUMJOίʔυͷҧ͍͕ Θ͔Γ·͔͢ʁ
if (true || false) { } if (true or false)
{ }
if (true || false) { } if (true or false)
{ } ಉ͡Α͏ʹݟ͑Δ͕࣮ҟͳΔڍಈ
͋Εɺ͜ͷ͕ͭಉ͡ҙຯͩͱࢥ͍ͬͯͨʜʁ if (true || false) { } if (true or
false) { }
ຊ,PUMJOͷབྷධՁʹ͍ͭͯ
ૣʮPSʯɺʮBOEʯͷίʔυΛ͍ͯΈΔ
IUUQTHJUIVCDPN+FU#SBJOTLPUMJOCMPC NBTUFSDPSFCVJMUJOTOBUJWFLPUMJO#PPMFBOLU
IUUQTHJUIVCDPN+FU#SBJOTLPUMJOCMPC NBTUFSDPSFCVJMUJOTOBUJWFLPUMJO#PPMFBOLU UIJTGVODUJPOEPFTOPUTIPSUDJSDVJUFWBMVBUJPO
བྷධՁ TIPSUDJSDVJUFWBMVBUJPO ͱʁ
བྷධՁཧԋࢉࢠͷࠨลɺӈลͷධՁΛ ද͢ධՁํ๏Ͱ࠷খධՁͱݺΕΔɻ
if (true || false) { } བྷධՁ
if (true || false) { } བྷධՁ
if (true || false) { } ʮUSVFʯ͚ͩධՁ͞ΕΔ བྷධՁ
ҰํͰ௨ৗͷཧԋࢉࢠʁ
௨ৗͷཧԋࢉࢠ if (true or false) { }
if (true or false) { } ௨ৗͷཧԋࢉࢠ
if (true or false) { } ʮUSVFʯ͕ධՁ͞ΕΔ ௨ৗͷཧԋࢉࢠ
if (true or false) { } ʮUSVFʯ͕ධՁ͞ΕΔ ௨ৗͷཧԋࢉࢠ
if (true or false) { } ʮUSVFʯ͕ධՁ͞ΕΔ ʮGBMTFʯධՁ͞ΕΔ ௨ৗͷཧԋࢉࢠ
௨ৗͷཧԋࢉࢠͷར༻ํ๏ʁ
IUUQTHJUIVCDPN+FU#SBJOTLPUMJOCMPCNBTUFSCVJME DPNNPOTSDPSHKFUCSBJOTLPUMJOJODSFNFOUBM *ODSFNFOUBM+WN$BDIFLU
IUUQTHJUIVCDPN+FU#SBJOTLPUMJOCMPCNBTUFSCVJME DPNNPOTSDPSHKFUCSBJOTLPUMJOJODSFNFOUBM *ODSFNFOUBM+WN$BDIFLU
"OESPJEͰͷར༻ intent.addFlags( Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP )
"OESPJEͰͷར༻ intent.addFlags( Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP ) Ϗοτԋࢉͱͯ͠ར༻͍ͯ͠Δ
+BWBͱ,PUMJOൺֱ
·ͱΊ
w ,PUMJOͷʮPSɺBOEʯɺʮccɺʯ ͱಉ͡ҙຯͰͳ͍ w བྷධՁͷཧԋࢉࢠɺ௨ৗͷཧԋࢉ ࢠ͕͋Δ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ