« Back to blog

Blog: Book meme #1

Graham Weldon

31 March, 2009

The rules: Grab the nearest book to you, using no discrimination or judgement, just the nearest book. Open to page 56, and quote the 5th sentence from that page.

This is the first time that I have done this, so here we go...

"First it ascertains the lower left corner (since (x0, y0) might be any one of the rectangle's four corners) and then calculates the width and height."

This comes from the popular gang of four: Design Patterns, Elements of Reusable Object-Oriented Software.