Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Sam
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? Thank you. --

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Mark Lawrence
On 14/02/2014 16:10, 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? Thank you. Bugs

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Mark Lawrence
On 14/02/2014 16:42, Dave Angel wrote: Sam lightai...@gmail.com Wrote in message: 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

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Marko Rauhamaa
Sam lightai...@gmail.com: 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? Here's some advice from a

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread 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.

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Gary Herron
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? Thank you. The

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Ethan Furman
On 02/14/2014 08:54 AM, Marko Rauhamaa wrote: Here's some advice from a very experienced programmer: become a very experienced programmer. +1 QOTW -- https://mail.python.org/mailman/listinfo/python-list

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Chris Angelico
On Sat, Feb 15, 2014 at 3:54 AM, Marko Rauhamaa ma...@pacujo.net wrote: Sam lightai...@gmail.com: 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

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread Thomas Heller
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

Re: Best practices to overcome python's dynamic data type nature

2014-02-14 Thread flebber
Here's a great resource http://www.anrdoezrs.net/click-7079286-11260198?url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920029533.do%3Fcmp%3Daf-code-book-product_cj_9781449367794_%7BPID%7Dcjsku=0636920029533 Sayth -- https://mail.python.org/mailman/listinfo/python-list