Adastral Park code retreat introduction
Upcoming SlideShare
Loading in...5
×
 

Adastral Park code retreat introduction

on

  • 6,729 views

Introductory slides for the Adastral Park code retreat on 28 October 2011

Introductory slides for the Adastral Park code retreat on 28 October 2011

Statistics

Views

Total Views
6,729
Slideshare-icon Views on SlideShare
2,918
Embed Views
3,811

Actions

Likes
2
Downloads
21
Comments
0

15 Embeds 3,811

http://www.kerrybuckley.org 3650
http://www.kerryb.org 121
http://abtasty.com 23
http://www.365dailyjournal.com 3
http://us-w1.rockmelt.com 2
http://www.onlydoo.com 2
http://webcache.googleusercontent.com 2
http://feedly.com 1
https://www.google.co.uk 1
http://kerryb.org 1
http://prodtest.sophiaapp.com 1
http://comtel.in 1
http://www.slideshare.net 1
http://flashattackcrew.blogspot.com 1
http://www.wonder-tonic.com 1
More...

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

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
  • \n
  • \n
  • Created format as group practice exercise, concentrating on code quality and removing pressure to deliver working system.\n
  • When did you last write perfect code? Never.\n
  • Pressure to deliver (even self-imposed pressure, eg on hobby projects).\n
  • Delivery pressure not a bad thing! No use writing perfect code that never does any useful work.\nBut, just for today, concentrate only on quality of code, not finishing the problem (it’s designed so you can’t finish it)\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Hopefully go back to work on Monday writing code that sucks a little bit less!\n
  • Intent: each piece of the system should do one thing only, and make it clear what that is.\nDuplication: concepts as well as actual chunks of code.\nOrdered, highest priority first.\n
  • Do these things and you’ll generally have good code.\nClean code is all about minimising the cost of change.\n
  • Do these things and you’ll generally have good code.\nClean code is all about minimising the cost of change.\n
  • Do these things and you’ll generally have good code.\nClean code is all about minimising the cost of change.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • First session get a feel for the problem, then start approaching from different directions, or with different constraints.\n
  • Pair with someone different each session. Learn something from everyone, and also helps approaches to today’s problem spread.\nSwap driver and navigator frequently.\nTry a different language.\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Adastral Park code retreat introduction Adastral Park code retreat introduction Presentation Transcript

  • ADASTRAL PARKCODERETREAT
  • The boring stuff
  • Perfection
  • Pressure
  • “Real artists ship.”
  • Perfectionhttp://www.flickr.com/photos/anguskirk/2814337725
  • Perfection Your normal levelhttp://www.flickr.com/photos/anguskirk/2814337725
  • Perfection How much you suck Your normal levelhttp://www.flickr.com/photos/anguskirk/2814337725
  • Perfection How much you suck Your normal levelhttp://www.flickr.com/photos/anguskirk/2814337725
  • Simple code:1. Passes all its tests2. Clearly expresses intent3. Contains no duplication4. Has no superfluous parts
  • Simple code:1. Passes all its tests2. Clearly expresses intent3. Contains no duplication4. Has no superfluous parts
  • Simple code:1. Passes all its tests2. Clearly expresses intent3. Contains no duplication4. Has no superfluous parts
  • Simple code:1. Passes all its tests2. Clearly expresses intent3. Contains no duplication4. Has no superfluous parts
  • Simple code:1. Passes all its tests1. Fix bad expresses intent2. Clearly names2. Remove duplication3. Contains no duplication4. Has no superfluous parts
  • Format of the day45 min coding 10 min retrospective 5 min break
  • Format of the day45 min coding 10 min retrospective 5 min break
  • After each session…
  • After each session… Deleteyour code!
  • Conway’s game of life
  • Infinite 2-d grid
  • Cells are alive or dead
  • Each cell has eight neighbours 1 2 3 4 5 6 7 8
  • At each clock tick…
  • Cells with fewer than two neighbours die
  • Cells with fewer than two neighbours die
  • Cells with two or three neighbours live on
  • Cells with more thanthree neighbours die
  • Cells with more thanthree neighbours die
  • Dead cells with exactly three live neighbours come alive
  • Dead cells with exactly three live neighbours come alive
  • http://www.youtube.com/watch?v=XcuBvj0pw-E
  • Languages
  • Ready?