Why did Quora choose Python for its development?

Daniel Kluev dan.kluev at gmail.com
Tue May 24 04:55:40 EDT 2011


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), `l`. In python, converting it to dict is as simple as d =
dict(l). In perl, %d = @l; produces meaningless value. Following your
logic, this means that perl has ugly syntax.

-- 
With best regards,
Daniel Kluev



More information about the Python-list mailing list