Several languages have docstrings, but I love #Python's convention of an example usage in the docstring. Literate programming that works.