Best practices to overcome python's dynamic data type nature

Thomas Heller theller at
Fri Feb 14 20:50:15 CET 2014

Am 14.02.2014 17:32, schrieb Ethan Furman:
> On 02/14/2014 08:10 AM, Sam wrote:
>> Dynamic data type has pros and cons. It is easier to program but
>>  also easier to create bugs. What are the best practices to reduce
>>  bugs caused by Python's dynamic data-type characteristic? Can the
>>  experienced Python programmers here advise?
> Unit tests.

Lint-like tools - there are a few - also help to discover bugs,
even before running or testing the code.  They also help in
other ways to write better code.

Myself I use the 'frosted' tool.


More information about the Python-list mailing list