r/Python • • Jun 08 '10

Python Makes Tedd Nervous

http://teddziuba.com/2008/12/python-makes-me-nervous.html
0 Upvotes

45 comments sorted by

View all comments

12

u/ojiisan data viz, comp.bio. Jun 08 '10

It seems like most of his concerns would be solved with adequate documentation. Basically he's complaining about dynamic typing, not Python.

Even with static typing, the programmer can make things equally opaque.

3

u/[deleted] Jun 08 '10

I do not think, that these concerns can be solved with better documentation.

It is not a documentation error, that exceptions - like IOError in open function - are not documented in standard library.

Some rules of production development in python:

  • You do not write a function, if you do not have a failing test.

  • You use source code checking tools, that enforce naming, documentation and other conventions.

If you do not have a test for not finding a file, than you did not think about not finding it. It is in your domain to decide.

Collaborative python development is hard. It is hard, because you have to set up rules of development on your own. The language itself does not enforce it.

It is hard because writing tests can be harder, than writing code.

-2

u/[deleted] Jun 08 '10

go on

0

u/[deleted] Jun 08 '10

It is hard, because I cannot go on :)