Book Image

Agile Technical Practices Distilled

By : Pedro M. Santos, Marco Consolaro, Alessandro Di Gioia
Book Image

Agile Technical Practices Distilled

By: Pedro M. Santos, Marco Consolaro, Alessandro Di Gioia

Overview of this book

The number of popular technical practices has grown exponentially in the last few years. Learning the common fundamental software development practices can help you become a better programmer. This book uses the term Agile as a wide umbrella and covers Agile principles and practices, as well as most methodologies associated with it. You’ll begin by discovering how driver-navigator, chess clock, and other techniques used in the pair programming approach introduce discipline while writing code. You’ll then learn to safely change the design of your code using refactoring. While learning these techniques, you’ll also explore various best practices to write efficient tests. The concluding chapters of the book delve deep into the SOLID principles - the five design principles that you can use to make your software more understandable, flexible and maintainable. By the end of the book, you will have discovered new ideas for improving your software design skills, the relationship within your team, and the way your business works.
Table of Contents (31 chapters)
Free Chapter
Section 1
Section 2
Section 3
Section 4
Chapter 21
License: CyberDojo


In this lesson, we start with a kata before we introduce the new material. With TPP, we found out that it is better to do the kata twice.

We will first work only with the material we have covered so far. We will then use the new concepts introduced in this lesson. This way, you get a chance to compare the two implementations and witness the effect of using TPP on your code.

Roman Numerals by cyber-dojo

Write a function to convert Arabic numbers to Roman numerals as best as you can, following the TDD practices we have been using.

Cyber-dojo foundation (See license):

Given a positive integer number (for example, 42), determine its Roman numeral representation as a string (for example, XLII). You cannot write numerals like IM for 999.

Examples of Roman numerals by cyber-dojo are as follows:

Figure 4.1: Roman numbers by cyber-dojo (1-1000)
Figure 4.2: Roman numbers by cyber-dojo (846, 1999, and...