Session
Take a mess. Make a mess. Fix the mess.
Ever seen a code that needs modifications, lack tests and you fear touching would break the working software somewhere else? In this talk, we learn a way to take a mess - a working code that does provide value every single day - turn that code into testable, cover it with tests and then to use a counter-intuitive way to refactor that code into something where domain concepts find their own places while making modifications easy.
Taking an untested mess is a challenge we face in real life. This talk is based on a series of exercises that can be worked on separately, built into a bigger code challenge. The talk goes through the thinking on how to approach such a challenge. Why is it important to add test cases? Why is it important to make the production code testable, in order to be able to test it? Why test readability is so important? And then - how to make a mess to let the design to find it’s shape.
This talk has 3 concepts
- How to turn hard-to-test code into easy-to-test code
- How to write a test case (and why)
- How to find a business abstraction thinking outside-in
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top