If Python was a music style ...

If Python was a music style ...

Posted on 26. Jan · Comments [0]
... what would it be ?

Jazz : no, apparently too complex. Python can be really simple and doesn't require to be familiar with it to understand it.
Pop : naaah ... First, Python is GPL, and pop music is not backwards compatible with GPL ;). Secondly, you can't construct huge pieces of work in pop : you have to respect the damn old radio format (i.e. less than 3 minutes).
Rock : Python is too structured to be Rock (i.e. indentation).
Classical : Python is relatively new, nearly everyone can code python, but I doubt everyone can play violin.

so, there remains : Blues ... yes ! Python would be Blues music.

First, anyone learning to code can code in Python (there's no compilation process to understand, you can start with simple scripts)
and anyone learning the guitar can play Blues (classic I IV V structure is so simple, yet so powerful)

There is no level at which it would be meaningless stopping playing the Blues, as it is so rich and so trans-cultural (i.e. the Maloya of Reunion Island IS a form of blues to me :) )

Moreover, Python has got it's own true philosophy :

Python 2.4.4 (#2, Jan  3 2008, 13:36:28) 
[GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import this
The Zen of Python, by Tim Peters

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!

Doesn't it sound to you like a Blue note ;D

Labels: Labels: Code Moods Music
No comments posted
Post a comment
Name:
Website:
Optional.
Email:

Optional. Won't be posted.
Comment:
Auto paragraphing. AmiFormat is used (reference).