Why did Quora choose Python for its development?

Octavian Rasnita orasnita at gmail.com
Tue May 24 12:10:41 EDT 2011


From: "Daniel Kluev" <dan.kluev at gmail.com>
> On Tue, May 24, 2011 at 5:00 PM, Octavian Rasnita <orasnita at gmail.com> wrote:
>> And you are telling that in Perl should be used an even more complicated and
>> ugly syntax just for beeing the same as in Python just for showing that I am
>> wrong, but I was comparing just the shortness and cleraness of the code.
>>
>> So, again, in Perl is just:
>>
>> %d = @l;
> 
> Once again. Suppose we have array of key-value pairs (two-dimensional
> array),

This is a forced example to fit the way Python can do it with a clean syntax, but I don't think there are cases in which somebody wants to create hashes/dictionaries where the key is not a plain string but an array.

This is not a rare case, but a case that probably nobody needs, ever.

Octavian




More information about the Python-list mailing list