Chapter 1. Programming by Intention
Everything old is new again. The folks who brought us the eXtreme Programming (XP) books1 were, among other things, promoting a set of best practices in software development. One of them, which they termed “Programming by Intention,” was not actually new but was something that had been a very common coding technique in languages like COBOL and Smalltalk (usually called “top-down” programming) years before. That’s actually a good thing; time-tested practices are often the most credible ones, because they’ve proven their value over and over again in realistic circumstances. In this chapter, we’ll examine this practice, first by simply demonstrating it and then by investigating the advantages we gain by following ...
Get Essential Skills for the Agile Developer: A Guide to Better Programming and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.