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
TDD is not slowly.
Search
Dassimen
October 29, 2020
Programming
1
520
TDD is not slowly.
Dassimen
October 29, 2020
Tweet
Share
More Decks by Dassimen
See All by Dassimen
Write code with "Test First"
anchorcable
0
18
Trying AWS Aurora Serverless.
anchorcable
0
200
Dialogue for Design
anchorcable
1
290
How to manage a good work environment
anchorcable
0
100
3日坊主でも勉強したい
anchorcable
5
5.5k
Design It! is good for architect.
anchorcable
0
120
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
650
TDD supports us all the time.
anchorcable
0
310
I read Tokumaru book on ABD.
anchorcable
1
96
Other Decks in Programming
See All in Programming
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
590
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
6
1.4k
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
130
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
570
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
310
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
290
Scaling your build logic
antalmonori
1
100
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
ドメインイベント増えすぎ問題
h0r15h0
2
570
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
160
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Site-Speed That Sticks
csswizardry
3
280
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Mobile First: as difficult as doing things right
swwweet
222
9k
Visualization
eitanlees
146
15k
Transcript
TDDは別に遅くない October 29, 2020 | #dasshimen #完全に理解したTalk 少なくとも遅くはならない 脱脂綿 (
@anchor_cable )
#完全に理解したTalk 2 About Me 脱脂綿 ( @anchor_cable ) 東京都内に住む脱脂綿(=Twitter名)系エンジニア •
株式会社ゆめみ ◦ サーバーサイドエンジニア • LT芸人 ◦ LTネタに困ったらTDDの事を話してる説がある
今日話すこと 3
TDDだと 早く 開発できる 4
TDDの イメージ (多分) 5
TDDに 対する 誤解 6
7 石橋を叩いて渡る
僕の思う TDDの姿 8
9
10 とりあえず 動くものを 作る
真逆 11
サンプル 12
LifeGame 13
14 * - * * - - * - *
- * - * - - - * - ルールに沿って 次の世代を出力
LifeGame 15
そこそこ ややこしい 16
TDD やってみよう 17
とりあえず ToDoリスト を作る 18
19
とりあえず テストコード 書いてみる 20
21
とりあえず プロダクション コード書ける 22
23
思考が エディタに 現れる 24
悩むとしたら 「どう書くか」 だけ 25
目の前のことに 集中できる 26
エディタに載ると より多くの ことが分かる 27
サンプル 28
29
30 countSurroundingAliveを定義 するWorldクラスを持って、そ のフィールドにセルを表現する listを持つのでどうだろう? 毎回world渡す関数で使い勝手 良いかな?
多分これが 一番早いと 思います 31
結論 32
TDDの方が 早く 開発できる 33
おまけ 34
折角書いた テストコード 35
ガンガン 活用されて欲しい 36
CI環境 欲しくなる 37
CIって難しそう 38
楽に作れる 39
GithubActions なら 40
TDDと GithubActions 相性バツグン 41
近日中に Zenn書きます 42
ご清聴 ありがとう ございました 43