M
M
maashaa2010-12-23 14:06:12
Perl
maashaa, 2010-12-23 14:06:12

Which is better - Perl or Python and for what?

For some reason, Google loves Python, I love Pearl - who's right?

Answer the question

In order to leave comments, you need to log in

16 answer(s)
M
Mikhail Davydov, 2010-12-23
@maashaa

Google loves Java and loves Python because Python compiles to Java bytecode. Python is popular everywhere on it, and system administrators write scripts and have GUI applications. Perl mostly runs on the server.

S
Sharn, 2010-12-23
@Sharn

Python, but in general I love borscht

Z
Zubchick, 2010-12-23
@Zubchick

I love python because I'm lazy.

A
admin4eg, 2010-12-23
@admin4eg

I’m not very familiar with Pearls, but after Pohape, Python just turned the world upside down, the language is for developers, not compilers :))
+ such an ivy that it will start with dzhanga is incredibly captivating.

O
ooprizrakoo, 2011-01-03
@ooprizrakoo

Mail.ru loves Perl :) However, we also love Python, it's just that there are fewer large projects on it. Come work with us :)

S
shsmad, 2010-12-23
@shsmad

everyone is right in their own way. Pearl is a good language, no matter what they say, about the fact that he died :) Powerful, with a bunch of modules on the CPU, used in different areas. But after 5 years on perl, I switched to python. Why? I wanted more harmony, flexibility, and normal OOP (well, almost normal). Of the possible options, the python most liked (but ruby ​​and others were also considered). Until I regret it.

K
kurd, 2010-12-23
@kurd

Python. Attracted with big buns in the form of Django, PyQT. And in general it is more popular and there are more manuals.

S
superhabra, 2010-12-23
@superhabra

He wrote both in that and in that, both languages ​​are equally pleasant. So first of all, you should look at the availability of the necessary libraries and suitable frameworks.

B
burzzo, 2016-01-08
@burzzo

1. Js, Perl -- dynamic & weak typesystem
2. Ruby, Python -- dynamic & strong typesystem. This means that types are inferred at runtime (dynamic), but implicit conversions between types are prohibited (strong)
3. C++ -- static and strong typesystem
=================== ============================
It's not a good idea to compare perl and python, because they are in "different" weight category.
Personal opinion:
I wrote scripts in scripting languages ​​matlab, python, bash, perl, js projects from 1K to 10K lines - the most monstrous is perl. Perhaps only windows batch can be worse.

N
naryl, 2010-12-24
@naryl

Better than Ruby and Tcl. ;)

S
Stepuk, 2010-12-23
@Stepuk

Customer.

T
TimTowdy, 2010-12-23
@TimTowdy

I write in both languages. Python is definitely nicer, but sometimes some things from pearl are missing - convenient regexps, hash slices, default variables, functions like qw()

P
perl_demon, 2010-12-24
@perl_demon

I like Perl. So far, he has not encountered any tasks beyond his strength. But I did not communicate tightly with Python either. It's a pity that now Perl is losing its popularity, but I think soon (with the release of Perl6) the situation will begin to change

P
perl_demon, 2010-12-24
@perl_demon

I don't know why you decided that Google doesn't like Perl! A Perl programmer I know has recently received an invitation to work there.

A
akzhan, 2010-12-24
@akzhan

I worked with Perl for a long time, now I prefer the expressiveness of Ruby.
Well, Node.JS, where without it ...

S
spiff, 2010-12-27
@spiff

I use Perl at work. Prior to that, at universities he programmed both in Java and in python. After 3 months of working with perl, I will say that I like the language (I would even say the platform) more and more every day. However, the lack of normal development environments is certainly repulsive.
In any case, it all depends on the task. It's just that now my tasks fit fine with pearl or python, but pearl was installed by default on all machines where it was necessary to run the application. So the choice was clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question