Exercise 26. hexdump
You’ve done a warmup with xargs and are now working in the cycle of code then audit. You are now going to try to complete the next challenge with a “test first” approach. This is where you write a test that describes your expected behavior, and then you implement the behavior until the test passes. You are going to be copying the hexdump utility and attempting to match your version’s output to the real version’s. This is where test first development really helps since it automates the process of mimicking another piece of software.
This technique is very useful when you need to write a replacement for a terrible piece of software. A common job in software is to work on a project that aims to replace an older system with a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access