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
490
Kotlinの短絡評価について
tommykw
June 28, 2018
Tweet
Share
More Decks by tommykw
See All by tommykw
ポートフォリオを作る
tommykw
0
160
Kotlin Compiler Plugin 入門
tommykw
0
100
Kotlin Compiler Plugin のワークフローを知る
tommykw
1
2.3k
コネヒトの健全性を支えるGithub Actionsの事例紹介
tommykw
0
2k
スクラムガイドの理解を深めるためのeduScrumガイド
tommykw
0
1.7k
改めて学ぶContracts
tommykw
10
7.1k
初めてのKotlinコントリビュート
tommykw
1
740
Kotlin Issueを投げてみよう!
tommykw
0
3.4k
AndroidのタグView作り
tommykw
0
3k
Other Decks in Programming
See All in Programming
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
120
Claude Codeログ基盤の構築
giginet
PRO
7
3.8k
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
Java 21/25 Virtual Threads 소개
debop
0
310
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
790
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.2k
おれのAgentic Coding 2026/03
tsukasagr
1
120
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
140
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
320
How to stabilize UI tests using XCTest
akkeylab
0
150
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
130
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
720
The World Runs on Bad Software
bkeepers
PRO
72
12k
Tell your own story through comics
letsgokoyo
1
870
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
690
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
270
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
360
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
460
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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 བྷධՁͷཧԋࢉࢠɺ௨ৗͷཧԋࢉ ࢠ͕͋Δ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ