Hacker News new | past | comments | ask | show | jobs | submit login
Professionalism in Python or: How To Not Do Bad Things (artificialcode.blogspot.com)
52 points by mapleoin on April 11, 2010 | hide | past | favorite | 8 comments



Hmmm, the last two points about humility and "solving the dirty problems" could very generally apply to the Lisp community as well.


The talk by Robert Martin - 'What killed Smalltalk, could kill Ruby too' mentioned in the blog was fantastic


What's the reference to the film industry at the end talking about? I'm not active in Python-land, so that went over my head.


It appears the author used Python while working for the film industry, see for instance the previous post in the blog: http://artificialcode.blogspot.com/2010/04/my-midlife-python...


In that one, G. van Rossum drops in to make a suggestion in the comments ...

Both posts are worth the time.

P.S. some people do not realize that a sizeable part of the core Python developers were/are C++ coders who wanted some sanity (or so I gathered about 8 years ago, when facing the same problem ;-).


He lost me at his extreme advocation for unit tests. I won't rehash the arguments against them here but the short story is that there is an additional burden in writing and maintaining them, and many of their benefits can be had through other means. I agree with the gist of the rest of his points, which were mostly about reducing complexity. Unfortunately, unit tests increase complexity. They aren't a free lunch.


I had the same reaction. Unit tests mean you have twice as much code to change when requirements change. And in my experience, whenever a unit test fails you have to spend a lot of time debugging the test itself to make sure the failure is even valid.


I think most developers agree that unit tests are a good thing(tm).

I do agree that the authors assertion that not writing tests come down to A) ignorance or B) laziness. There is, after all, a third option. In a startup environment, where you're trying to rush a product to market, unit tests are often just not feasible. It's not ignorance or laziness, it's lack of resources to actually do it.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: