  | | | Sorting collections | Sorting collections 2004-04-01 - By Rick Walia
Back Quoting kim aldis <kim@(protected)>:
> Evangelist. ;-)
hehe. I was just busting chops :-). Since Guy is quite busy these days, somebody has to speak up for python!
> The reason for suggesting perl is that the readdir call is fast as hell, > even on large directories. I use it for building clip lists in render > picture directories and it beats the pants off anything windows can do.
I suppose you are right. In the past I would just use shell scripts and/or perl for system management, these days I'm doing almost all in python.
Last year when I was building some flocking tools, I was working with Active Python on Windows. While I agree Perl is very powerful, the code can look cryptic at times especially with funky expressions. I was concerned that my code would be difficult to follow 6+ months down the road by me or anyone else in the production.
Getting up and running with Perl for a new user can take some time as well. Someone else elegantly put it "It is usually the l33t that still choose to work in perl." I'm not l33t, I just need to get my work done :-P
I choose python for ease of learning, readabilty and its power of course.
# Beautiful is better than ugly. # Explicit is better than implicit. # Simple is better than complex. # Complex is better than complicated. # Flat is better than nested. # Sparse is better than dense. # Readability counts. # Special cases aren't special enough to break the rules. # Although practicality beats purity. # Errors should never pass silently. # Unless explicitly silenced. # In the face of ambiguity, refuse the temptation to guess. # There should be one -- and preferably only one -- obvious way to do it. # Although that way may not be obvious at first unless you're Dutch. # Now is better than never. # Although never is often better than right now. # If the implementation is hard to explain, it's a bad idea. # If the implementation is easy to explain, it may be a good idea. # Namespaces are one honking great idea -- let's do more of those
taken from http://www.python.org/dev/culture.html
I'm done preaching and it's time I get back to work!
/R
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|
 |