Prime Factors Code Kata (2010)
Upcoming SlideShare
Loading in...5
×
 

Prime Factors Code Kata (2010)

on

  • 754 views

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

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

Statistics

Views

Total Views
754
Views on SlideShare
754
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Prime Factors Code Kata (2010) Prime Factors Code Kata (2010) Presentation Transcript

  • 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.
  • 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
  • The Prime Factors Kata
  • Robert C. Martin (“Uncle Bob”)
  • SoftwareCraftsmanship
  • Craftsmanship Over Crap
  • 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
  • Demo
  • Keep the bar green to keep the code clean
  • Thank You
  • PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Peter Kofler @codecopkofler www.code-cop.org
  • 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/