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
130
厳密な定義
kanayannet
0
150
Mcp Training
kanayannet
0
280
MCP で「こいつ動くぞ」
kanayannet
0
200
無関心の谷
kanayannet
0
1.3k
生成AIの使いどころ
kanayannet
0
270
github copilot と 心理的安全性
kanayannet
0
300
FW と ライブラリ の考え方
kanayannet
0
290
TDDと今まで
kanayannet
0
770
Other Decks in Programming
See All in Programming
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
120
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
パーソナライズPodcastを作った話
repunit11
0
120
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
AIに “答え“を書かせるのを やめてみた
___akari11
0
110
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
210
mrbgem 三角測量 開発
ogom
0
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
560
AWSに止められる覚悟してますか?
morizo_1984
2
520
ジョジョの世界をXRで再現する
mofurune
0
140
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
34
16k
速習iPhone Duo対応
yuukiw00w
2
960
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
The untapped power of vector embeddings
frankvandijk
2
1.9k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Exploring anti-patterns in Rails
aemeredith
4
520
Paper Plane
katiecoart
PRO
4
54k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Statistics for Hackers
jakevdp
799
230k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
350
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
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 = '';
⾚くもないし早くもないから! ⾚くもないし早くもないから!
お粗末様でした! お粗末様でした!