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
Jonathan Cook
August 12, 2013
Programming
0
460
Fibonacci Sequence Kata - TDD
Pure TDD example Kata
Jonathan Cook
August 12, 2013
Tweet
Share
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
42
ESA Heliophysics Science Archives: Interoperability through IVOA standards
joncook
0
44
TDD
joncook
2
360
Other Decks in Programming
See All in Programming
登壇資料を作る時に意識していること #登壇資料_findy
konifar
5
2.1k
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
190
CSC307 Lecture 15
javiergs
PRO
0
210
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
420
TipKitTips
ktcryomm
0
150
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
170
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.5k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
180
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
240
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
460
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
860
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
150
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
Exploring anti-patterns in Rails
aemeredith
2
280
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
63
53k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
140
Mind Mapping
helmedeiros
PRO
1
110
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
190
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
97
Prompt Engineering for Job Search
mfonobong
0
180
Embracing the Ebb and Flow
colly
88
5k
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/