Your SlideShare is downloading. ×
0
Prime Factors Code Kata Java Student User Group        April 2010     Peter Kofler, ‘Code Cop’         @codecopkofler     ...
PETER KOFLER, CODE-COP.ORG                  FANATIC ABOUT CODE QUALITY                             Peter Kofler  • Ph.D. (...
The Prime Factors      Kata
Robert C. Martin (“Uncle Bob”)
SoftwareCraftsmanship
Craftsmanship  Over Crap
PETER KOFLER, CODE-COP.ORG                                  FANATIC ABOUT CODE QUALITY                       The Requireme...
Demo
Keep the bar green to keep the code clean
Thank You
PETER KOFLER, CODE-COP.ORG          FANATIC ABOUT CODE QUALITY                             Peter Kofler                   ...
PETER KOFLER, CODE-COP.ORG                                      FANATIC ABOUT CODE QUALITY                                ...
Upcoming SlideShare
Loading in...5
×

Prime Factors Code Kata (2010)

640

Published on

This are only slides, the actual demo is not included.

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

  • Be the first to like this

No Downloads
Views
Total Views
640
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Prime Factors Code Kata (2010)"

  1. 1. Prime Factors Code Kata Java Student User Group April 2010 Peter Kofler, ‘Code Cop’ @codecopkofler www.code-cop.org Copyright Peter Kofler, licensed under CC-BY.
  2. 2. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Peter Kofler • Ph.D. (Appl. Math.) • Professional Software Developer for 11 years • Lead Developer at System One • fanatic about code quality
  3. 3. The Prime Factors Kata
  4. 4. Robert C. Martin (“Uncle Bob”)
  5. 5. SoftwareCraftsmanship
  6. 6. Craftsmanship Over Crap
  7. 7. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY The Requirements. • Write a class named “PrimeFactors” that has one static method: generate. – The generate method takes an integer argument and returns a List<Integer>. – That list contains the prime factors in numerical sequence. http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata
  8. 8. Demo
  9. 9. Keep the bar green to keep the code clean
  10. 10. Thank You
  11. 11. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Peter Kofler @codecopkofler www.code-cop.org
  12. 12. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Links • General – http://en.wikipedia.org/wiki/Robert_Cecil_Martin – http://en.wikipedia.org/wiki/Software_craftsmanship • Kata – http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata – http://en.wikipedia.org/wiki/Kata_(programming) • Images – karate: http://www.flickr.com/photos/the-consortium/5301698212/ – red-green: http://www.flickr.com/photos/30830597@N08/3630649274/ – questions: http://www.flickr.com/photos/seandreilinger/2326448445/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×