Do you have to speak a language well to translate it?

The short answer is, it doesn't hurt. Of course it's not an absolute prerequisite. As a counterexample, lots of people put out fine translations of dead languages — languages nobody speaks any more. But speaking a language well implies the ability to quickly comprehend and manipulate a rich variety of language constructs. Knowing the language […]

Mocking wxpython for unit testing

Unit testing GUI code is usually a pain, but Python makes this so easy that I laugh with glee every time I do it. My approach is to declare my own fake versions of the main wxpython widgets, and then overwrite the wx namespace with my fake classes. This idea is basically borrowed from a […]