Iced Tea in Crete 2012:Hands on with Legacy Coding

From WikiEducator
Jump to: navigation, search
Hands on with Legacy Coding
Convenor: Ignasi
Participants:
  • Ignasi
  • Kerstin
  • Kon
Summary:

Agile Barcelona runs Coding Dojs each month. Each Dojo are 2 pomodoros for the same Kata. In each pomodoro coders must pair and start the kata from scratch. In each pomodoro pairs must change. About 20 people.

After several Dojos, Agile Barcelona suggests a slight change in the norm: legacy code katas. Get known katas, prepare awful solutions: with or without tests, code duplication, unreadable, wrong var names, etc... do a normal dojo trying to get the code clean. Boy scout rule!


When at work, they don't deal with well written specs Or they deal with code that was written >2+years ago

THIS IS NOT REAL

So the goal is to do a different kind of kata, which reflects the fact that often we have to understand/refactor/change legacy code. Some such katas are available on github:

  • github emilybache/Refactoring-Katas
  • tenniskata-kata-dojo


Randori style kata - everyone looks at one screen and a kind of ping pongs


Breakfast
-=--=----=-==-=-=--=-=

When you come into work spend 30 min doing a kata You do same kata each day for 2 weeks.

Spend the first 3 days just working on the problem. Then you should know how to solve the problem quickly, you can redo it in e.g. a different IDE than your favorite, different build tool, different test environment, different language. So the focus changes from solving the actual problem to solving a lot of other small real-life issues that you may face.


Maven archetypes are good to get an idea of what's going on.

Recommendations:

Recommendations go here

  • ...
  • ...