That's smart. Programmers do a lot of searching for examples, there was a recent Google study on the topic. [1]
One of my personal favorites lately has been bropages [2] - it's a crowdsourced set of usage examples for Unix command-line tools. Instead of wading through fifty pages of obtuse manpages or googling for usage, you just use "bro [command]" and you get some working examples.