I've found a similar tactic useful for learning APIs: don't reuse example code, and don't reuse other people's code. Doesn't matter how annoying the API is - always write your code by hand. Re-type bits out of the code you were thinking of copying, if needs be! It's much easier to spot things worthy of note as you type them in than it is by reading them.