Table of Contents

[hemmerling] Coding Dojo / Coding Kata / Randori / Code Retreat / Object Calisthenics / Elephant Carpaccio Exercise - Group-Awareness, Self-Awareness, Self-Training in Software Development

Related pages:

Definitions

Literature

Events

My Coding Dojo / Code Retreat Events and similar Events

Some other Coding Dojo / Code Retreat Events and similar Events

Code Retreat & Codeing Dojo Rules

Rules for Code Retreat in Wolfsburg, 2012-09-22

  1. Tests must pass.
  2. No duplication.
  3. Reveal intention ( good names ).
  4. Small.

Rules "Simple Design Applied" by Alistair McKinnell, Declan Whelan

The Manifest

Design Rules

  1. All tests must pass.
  2. No code is duplicated.
  3. Code is self-explanatory.
  4. No superfluous parts exist.

Characteristics of "Simple Design"

  1. Passes its tests (given TDD).
  2. Minimizes duplication.
  3. Maximizes clarity (fix names).
  4. Has fewer elements.

Implementation

1 Three-Step Behavour-Driven Implementation of each Rule

  1. Given.
  2. When ( = If ).
  3. Then.

2 Create your own Tests to proceed with Implementation

Object Calisthenics Rules

The Manifest with detailed Explanations

The Rules

  1. One level of indentation per method
  2. Don’t use the ELSE keyword
  3. Wrap all primitives and Strings
  4. First class collections
  5. One dot per line
  6. Don’t abbreviate
  7. Keep all entities small
  8. No classes with more than two instance variables
  9. No getters/setters/properties

Elephant Carpaccio Exercise Rules

Legacy Code Retreat

Experts

Sample Codebases

Tasks

1 Golden Master

2 Pullup & Delegate

  1. Introduce a superclass “A extends B” ( e.g. “Game extends SpecialAspectOfGame” ).
  2. Pulling methods & instance variables.
  3. Replace inheritance by delegation: “class A() { B b; };”

3 Extract Pure Functions

Tasks

Tasks and Task Collections

AntMe!

The Tool

Antme! 1.6, 1.7, 2.0
Antme! 1.6
Antme! 2.0 Development is discontinued on this Platform

Authors and Supporters

Literature

Resources

API Testing Dojo

Elephant Carpaccio Exercise Tasks

Sales Calculator

# Total order sum in EUR Volume discount in %
1 1000 3
2 5000 5
3 7000 7
4 10000 10
5 50000 15
# Country VAT in %
1 DE 19
2 IT 22
3 SE 25
4 LU 15
5 MT 18

Fizz Buzz

Resources

Solutions

Game of Life ( without GUI )

Resources

Solutions

C
C/C++
C#
Excel
Java
Javascript
Python
Scala
VB.NET

Mars Rover

Meiern, Mäxchen

Robocode

The Tool

Resources

Roguelike Development

Rock-paper-scissors

Tick-Tack-Toe

Software Tools

Resources

Resources - Code Retreat

Resources - Coding Dojo

Resources - "Git Kata"

Resources - "Given, When, Then"

Resources - Object Calisthenics

Resources - Elephant Carpaccio Exercise

Literature

Forums, Newsgroups

Off-Topic: Same Name, but not about Programming Contests & Self-Training in Coding


When this document changes ! Site Navigation ( My Business ! My Topics ! Imprint / Contact ! Privacy Policy ! Keyword Index ! ! Google+ Publisher "hemmerling" )