Learning Through Example

Learning Through Example – Mars Rover Kata

Over my career, I’ve spent a lot of time bringing new engineers up to speed on how to break down problems, how to write better code, and how to write automated tests. What I’ve come to find out is that there are a ton of resources on how to do each of these things individually, but not very many that brings all of these concepts together in one place. The purpose of this series is to bring all of these ideas together as we solve the Mars Rover kata.

Purpose

For new engineers, this kata has about the right amount of complexity to explore these various concepts and help identify things to improve on. As a team lead at SentryOne, I’ve onboarded interns and our associate engineers using this kata as a launch point to teach them the tooling and processes we use. In addition, this kata serves as a method to evaluate their current skills so we can help round out a solid foundation for their career.

By the end of this series, you will have a better understanding of how to break down a problem into small, deliverable pieces while being able to write tests around new functionality. Even though there will be a lot of code to look at, none of these concepts are technology-specific so I challenge you to follow along with your tech stack of choice and see how you would implement some of these concepts in that stack. 

Technologies Used

On the topic of technologies, I’ll be using the following for my implementation of this kata. As long as you find the relevant tool for your technology stack, you should be able to follow along!

Series

  • Part 0 – Introduction
  • Part 1 – Defining the Problem
  • Part 2 – Modeling Concepts
  • Part 3 – Intro to Testing
  • Part 4 – Implementing Rover Part 1: Move Forward and Move Backward
  • Part 5 – Implementing Rover Part 2: Turn Left and Turn Right
  • Part 6 – Implementing Rover Part 3: There seems to be a pattern
  • Part 7 – Implementing Logger
  • Part 8 – Bringing Rover and Logger together
  • Part 9 – Wrapping Up and Reflection

Leave a Reply

%d bloggers like this: