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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tommykw
June 28, 2018
Programming
500
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kotlinの短絡評価について
tommykw
June 28, 2018
More Decks by tommykw
See All by tommykw
ポートフォリオを作る
tommykw
0
170
Kotlin Compiler Plugin 入門
tommykw
0
110
Kotlin Compiler Plugin のワークフローを知る
tommykw
1
2.4k
コネヒトの健全性を支えるGithub Actionsの事例紹介
tommykw
0
2.1k
スクラムガイドの理解を深めるためのeduScrumガイド
tommykw
0
1.8k
改めて学ぶContracts
tommykw
10
7.2k
初めてのKotlinコントリビュート
tommykw
1
760
Kotlin Issueを投げてみよう!
tommykw
0
3.4k
AndroidのタグView作り
tommykw
0
3.1k
Other Decks in Programming
See All in Programming
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
550
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
380
プロポーザルを書いてもらう
pvcresin
0
580
ALB ログから Trace を気合で繋げる技術
fohte
5
580
VibeCodingからAgenticWorkflowへ
starfish719
0
870
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
490
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
360
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
170
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
1.1k
AWS Transform Customによる Spring Boot 2.xから4.xへのVerUp
satoshi256kbyte
2
100
My Marp Sample
sinoue0108
0
120
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
380
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
290
Balancing Empowerment & Direction
lara
6
1.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Embracing the Ebb and Flow
colly
88
5.1k
GraphQLとの向き合い方2022年版
quramy
50
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
480
ラッコキーワード サービス紹介資料
rakko
1
4.5M
Agile that works and the tools we love
rasmusluckow
331
22k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
940
Bash Introduction
62gerente
615
220k
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 བྷධՁͷཧԋࢉࢠɺ௨ৗͷཧԋࢉ ࢠ͕͋Δ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ