Why did Quora choose Python for its development?

D'Arcy J.M. Cain darcy at druid.net
Tue May 24 06:05:35 EDT 2011


On Tue, 24 May 2011 09:00:14 +0300
"Octavian Rasnita" <orasnita at gmail.com> wrote:
> So, again, in Perl is just:
> 
> %d = @l;
> 
> Please tell me if Python has a syntax which is more clear than this for 
> doing this thing.

How is that clear?  "Shorter" != "clearer."  A Python programmer
looking at that sees line noise.  A Perl programmer looking at "d = dict
([a])" (or even "d = dict(a,)") sees something that has something to do
with creating a dictionary.  At least he would know in which section of
the manual to look for more information.

> And again, I am not trolling anything. I am just defending a language which 
> has a clearer syntax for doing some things, and a shorter code for other 

Are Perl programmers aware of some imminent worldwide shortage of
electrons that Python programmers are not?  Why is there this obsession
with shortness?

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list