[ Content | Sidebar ]

Search results for dbcdb/896/

composing, decomposing, and recomposing methods

Applying Compose Method After I wrote that post on precedence, map, and function composition in Scala, I started to wonder: I’ve been thinking that I should experiment more with applying Compose Method. That refactoring recommends that, if I start with the original version of my code, data.foreach(s => writer.addDocument(createDocument s)) then I should extract the […]

creation and benefits of implementation patterns

From Kent Beck’s Implementation Patterns (p. 20): Once a set of implementation patterns has become habitual, I program faster and with fewer distracting thoughts. When I began writing my first set of implementation patterns (The Smalltalk Best Practice Patterns, Prentice Hall 1996) I thought I was a proficient programmer. To encourage myself to focus on […]