Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Perth Code Dojo 4

Perth Code Dojo 4

William Webster

November 27, 2014
Tweet

More Decks by William Webster

Other Decks in Technology

Transcript

  1. Code Dojo Format A Coding Dojo is a coding session

    centered around a programming challenge. The dojo provides a safe place to learn and experiment away from the pressures of business delivery. All programmers of varying skill levels meet as equals to learn and share.
  2. Software Craftsmanship “Deliberate practice is closely related to the attained

    level of performance of many types of experts” - Dr. K. Anders Ericsson Because experience is the only teacher - Dave Thomas
  3. XP Practices ➔ Simple Design ◆ Testable ◆ Understandable ◆

    Browserable ◆ Explainable ◆ Never add functionality before it is needed ◆ Incrementally refactor and add as required http://www.extremeprogramming.org/rules/simple.html
  4. XP Practices ➔ YAGNI (You ain’t gonna need it) ◆

    Popular Extreme Programming (XP) slogan ➔ KISS (Keep it simple stupid) ◆ A design principle noted by the U.S. Navy in 1960 ◆ Simplicity should be a key goal in design and unnecessary complexity should be avoided
  5. XP Practices ➔ Albert Einstein on Simple Design “Any dam

    fool can make something complex; it takes a genius to make something simple” “Things should be made as simple as possible, but not any simpler”
  6. Pomodoro ➔ Pomodoro Technique ◆ 25 mins on, 5 mins

    off ◆ http://tomatoi.st/perthcodedojo ➔ Four iterations
  7. Retro & Pizza Closing with Pizza and a mini retrospective

    ➔ Share solutions on the big screen ➔ Discuss challenge / approach ➔ Feedback on the dojo
  8. Load a Random User http://api.randomuser.me/ Load a single user •

    Must be populated with data • Less than 5 seconds
  9. Load Multiple Users http://api.randomuser.me/ Load 50 users using individual calls

    • Asserts takes less than 80 seconds Load 50 users using a bulk call • Asserts take less than 5 seconds • API key requird from http://randomapi.com
  10. Output Build a UI to display the generated users Display

    at minimum • First name, last name • Picture