Mar
31
2010
On the Importance of Docstrings
Docstrings can do wondrous things. Wikipedia describes a docstring as "a string literal specified in source code that is used, like a comment, to document a specific segment of code." I've rewritten sine_arp() to demonstrate a theoretical docstring example: def sine_arp(dur, amp, pitch, lfo_freq): '''Generates an arpeggiated sine ... read more.
