I am working on a small Python script that uses Jinja2 to generate my
gophermap based on the contents of a directory.
When I write my tools I always have the same thoughts about
reusability, readability, error handling, patterns and the like as in
work. But why are hardcodings or no error handling not acceptable for
a code-it-yourself tool? If I screw up I get a Python error, so what?
It's my tool I probably figure out what's wrong in a couple of
minutes.
Documentation is the exception here as tomorrow I won't really know
what I intended to do with some cryptic code lines...