• Browse Blogs
  • My Blog
  • My Updates

+Tags Get help with tags?

  • View as cloud  | list

+ Similar Blogs

photo

Uh Clem's Adm...

54 Entries |  Chris Mobley
Updated 
RatingsRatings 8     CommentsComments 55
photo

CrashTestChix

100 Entries |  Marie L Scott
Updated 
RatingsRatings 13     CommentsComments 226
photo

B's Blog

29 Entries |  Bob Seifert
Updated 
No RatingsRatings 0     CommentsComments 22
photo

JEC's Blog

19 Entries |  Dale Cole
Updated 
RatingsRatings 1     No CommentsComments 0
photo

Life is too s...

33 Entries |  Barbara Skedel
Updated 
RatingsRatings 3     CommentsComments 56

+ Bookmarks

+ Archive

+ Blog Authors  

All entries tagged with languages

1 - 1 of 1
  • Previous
  • Next
  • Page   1

The Zen of Python

Dan Sickles |   | Tags:  languages python | Comments (0)  |  Visits (201)
 I've used Python as my general-purpose "just get it done" language for almost 8 years. The guiding principles for Python's design are applicable to most design and development tasks. Not everyone agrees with all of these principles. For example, Perl and Ruby have a philosophy of "more than one way to do it". Choose what suits you. Python suits me. I use it extensively for Notes DB Admin type tasks; sometimes from my script library and sometimes ad hoc on the command line. You can do this with Ruby, Groovy  and other languages using the COM APIs (yes Groovy can do COM). You can do it on the JVM with Rhino, Jython, JRuby, Goovy and a host of other JVM languages. Herewith, The Zen of Python, which by the way is accessible from within Python by typing "import this":

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!



No RatingsRatings 0

  • Previous
  • Next
Jump to page of 1
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About