O'Reilly logo
  • Jamie Robillard thinks this is interesting:

Add an instance method for multiplying a vector by a scalar:

From

Cover of Cocoa Programming for OS X: The Big Nerd Ranch Guide

Note

The text says multiply though the example is addition