TDD Boot Camp

5,144 views
5,051 views

Published on

TDD Boot Camp - Dec 12, 2009 at Oracle Aoyama Center

Published in: Technology
0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,144
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
68
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

TDD Boot Camp

  1. 1. (a.k.a id:t-wada or @t_wada) Dec 19, 2009 @
  2. 2. http://www.flickr.com/photos/snapperwolf/2607585548/
  3. 3. http://www.flickr.com/photos/snapperwolf/2607586846/
  4. 4. http://www.flickr.com/photos/recompile_net/3298985098/
  5. 5. ( )
  6. 6. 1. 2. 3. 4. 5. 6.
  7. 7. Refactoring Green Red ) (
  8. 8. Refactoring Green Red ) (
  9. 9. Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”. 1 100 3 Fizz 5 Buzz 3 5 FizzBuzz http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/ http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm
  10. 10. • • • • http://blogger.ukai.org/2007/09/itpro-challenge.html
  11. 11. • • • • • •
  12. 12. • • • • • •
  13. 13. • • •
  14. 14. • • • •
  15. 15. Refactoring Green Red ) (
  16. 16. • • • •
  17. 17. Map Last Recently Used (LRU) Cache Map
  18. 18. # lru.put(“a”, “dataA”); lru.put(“b”, “dataB”); lru.put(“c”, “dataC”); lru.get(“a”); #=> null # get lru.put(“a”, “dataA”); lru.put(“b”, “dataB”); lru.get(“a”); #=> “dataA” lru.put(“c”, “dataC”); lru.get(“b”); #=> null
  19. 19. LRU Cache ? ( …)
  20. 20. LRU Cache ? ( …)
  21. 21. LRU Cache ( …)

×