I just released my first module which has full commented code (http://leevigraham.com/ee-support/expression-engine-social-bookmarks-module/).
I also found the docs very helpful.
The one thing I had trouble with was the replacement of tags in the template. Once I figured out that a string was being passed into the method and that the main thing you do is replace parts of the string with values using regular expressions and replace methods I was on my way.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.