Developer's Gym with ThoughtWorks (Session 4) - JuniorDevSG

Published on: Sunday, 19 August 2018

Speaker: Gordon Guo, ThoughtWorks

We will do some legacy code refactoring kata: https://github.com/jbrains/trivia

Agenda:

- Introduction on characterization test (golden master test)
- Walk through the codes to identify some code smell
- Some demo on refactoring (I will use the Javascript codebases as many attendees from previous sessions code in Javascript)
- Pair up with someone and do hands-on exercise on refactoring

Slides: https://github.com/JuniorDevSingapore/developers_gym/raw/master/Refactoring%20Kata%20-%20Legacy%20Codebase.pdf

Sample Codes:

Golden Master in JavaScript:
https://github.com/songguoqiang/trivia_refactoring_kata

Golden Master in Java:
http://blog.thecodewhisperer.com/permalink/surviving-legacy-code-with-golden-master-and-sampling

Golden Master in C#:
http://codecleane.rs/2016/09/30/refactoring-legacy-code-in-practice-iteration-2-building-a-golden-master/

Event Page: https://www.meetup.com/Junior-Developers-Singapore/events/253702426/

Produced by Engineers.SG
Recorded by:

Help us caption & translate this video!

https://amara.org/v/kqDI/