lcustodio / trip-service-kata

Kata for a legacy code hands-on session. The objective is to write tests and refactor the given legacy code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trip Service Kata

Kata for legacy code hands-on session. The objective is to test and refactor the legacy TripService class.

The end result should be well-crafted code that express the domain.

You can watch the video with my solution. Although quite long, I explain my whole thought process while writting tests, how I break dependencies, the reasons for refactoring and re-desining the code (tests and production code), and why certain steps are important. I also cover how often I commit and why I do it.

The video is full of tips and tricks that can be used in any language.

https://www.youtube.com/watch?v=_NnElPO5BU0

About

Kata for a legacy code hands-on session. The objective is to write tests and refactor the given legacy code.


Languages

Language:Shell 23.0%Language:C# 11.4%Language:Objective-C 8.9%Language:Python 7.3%Language:ABAP 7.3%Language:Swift 6.5%Language:Java 6.3%Language:Kotlin 6.0%Language:Scala 5.9%Language:PHP 5.3%Language:JavaScript 4.6%Language:C++ 4.2%Language:Ruby 3.3%