Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
pattern
Search
kanayannet
December 07, 2019
Programming
390
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
pattern
kanayannet
December 07, 2019
More Decks by kanayannet
See All by kanayannet
リファクタリング ハーネス
kanayannet
1
110
厳密な定義
kanayannet
0
130
Mcp Training
kanayannet
0
260
MCP で「こいつ動くぞ」
kanayannet
0
190
無関心の谷
kanayannet
0
1.3k
生成AIの使いどころ
kanayannet
0
270
github copilot と 心理的安全性
kanayannet
0
300
FW と ライブラリ の考え方
kanayannet
0
280
TDDと今まで
kanayannet
0
740
Other Decks in Programming
See All in Programming
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
540
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
1
150
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
200
Go のフラットな パッケージに 「ファイル単位の private」を 〜Linter “declscope” を作った話〜
mpyw
0
250
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
自分的「カンファレンスの楽しみ方」
syumai
0
200
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
150
XHTMLが残したもの
yosuke_furukawa
PRO
2
780
Building an Out-of-Order CPU
latte72
1
770
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
120
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
340
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
140
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
WENDY [Excerpt]
tessaabrams
13
39k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
We Are The Robots
honzajavorek
0
370
Bash Introduction
62gerente
615
220k
Statistics for Hackers
jakevdp
799
230k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
HDC tutorial
michielstock
2
870
A designer walks into a library…
pauljervisheath
211
25k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Transcript
XX パターン XX パターン Gunma.web #37 @kanayannet
⾊んなパターンありますよね ⾊んなパターンありますよね デザインパターン
今⽇はこんなパターンをやります。 今⽇はこんなパターンをやります。 アントワネットパターン ほととぎすパターン アズナブルパターン
アントワネットパターン アントワネットパターン
マリー・アントワネット マリー・アントワネット
パンがないなら パンがないなら お菓⼦を⾷べればいいじゃない お菓⼦を⾷べればいいじゃない
つまり つまり
xx が xxx なら xx じゃない xx が xxx なら
xx じゃない というパターン
その1 その1 while(true){ break; }
無限ループは break すればいいじゃな 無限ループは break すればいいじゃな い い
その2 その2 try{ // 落 ? etc(); }catch(e){ // 握
潰 }
None
エラーなんて握り潰せばいいじゃない エラーなんて握り潰せばいいじゃない
多⽤は要注意 多⽤は要注意
ほととぎすパターン ほととぎすパターン
鳴かぬなら鳴かせてみせようホトトギス 鳴かぬなら鳴かせてみせようホトトギス
その 1 その 1
ハングって Ctrl + C も効かない ハングって Ctrl + C も効かない
落ちぬなら KILL してしまえホトトギス 落ちぬなら KILL してしまえホトトギス
アンチパターン アンチパターン while(true){ // 無限 }
落ちるまで待とうホトトギス 落ちるまで待とうホトトギス
待っても落ちないですから ! 待っても落ちないですから !
アズナブルパターン アズナブルパターン
シャア・アズナブル シャア・アズナブル
その1 その1 function main(){ //.....1万行以上 return; }
None
その2 その2 # 終 sleep(10); exit;
なぞの wait 10 なぞの wait 10
きわめつけ きわめつけ // 3倍早 ? char aznable = '';
⾚くもないし早くもないから! ⾚くもないし早くもないから!
お粗末様でした! お粗末様でした!