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
Fibonacci Sequence Kata - TDD
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Jonathan Cook
August 12, 2013
Programming
470
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Fibonacci Sequence Kata - TDD
Pure TDD example Kata
Jonathan Cook
August 12, 2013
More Decks by Jonathan Cook
See All by Jonathan Cook
Out with the Monolith - a new data ingestion system in the Heliophysics Archives
joncook
0
46
ESA Heliophysics Science Archives: Interoperability through IVOA standards
joncook
0
47
TDD
joncook
2
360
Other Decks in Programming
See All in Programming
Oxcを導入して開発体験が向上した話
yug1224
4
350
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
980
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
130
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
310
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
0
170
Lessons from Spec-Driven Development
simas
PRO
0
230
さぁV100、メモリをお食べ・・・
nilpe
0
160
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
280
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
170
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
330
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.5k
Oxlintのカスタムルールの現況
syumai
6
1.2k
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
180
Six Lessons from altMBA
skipperchong
29
4.3k
Context Engineering - Making Every Token Count
addyosmani
9
990
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Side Projects
sachag
455
43k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
440
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
For a Future-Friendly Web
brad_frost
183
10k
Ruling the World: When Life Gets Gamed
codingconduct
0
270
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
55k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
210
Transcript
Fibonacci Sequence Kata Jonathan Cook
What is the Fibonacci Sequence A sequence of numbers in
which each number equals the sum of the two preceding numbers. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...
La Idea hoy es que probeis la kata en parejas
Y Los ultimos veinte minutos voy a mostraros mi solucion en la tele!
Fibonacci Sequence Generator Write some code to return the Fibonacci
number for a given position. Only for positions between 0 and no greater than 46 Example - position 8 would return 21 Try and use the TDD techniques we talked about last time.
Un Poco mas Adapt your sequence generator: Give me the
sequence of fibonacci numbers for a given sequence number between 8 and 50. e.g) for 8 - 0,1,1,2,3,5,8,13
My solution • https://github.com/JonCook/katas/