Python vs Perl

preview_player
Показать описание
Python and Perl both are the widely used scripting language in the world. The programmers always get into a dilemma to choose the best one between Python vs Perl. Have a look at this comparison to find the best scripting language for your next project. Watch the video till the end.

We have compared the following topics in this video:-

Python
Features
Perl
Features
Some of the Questions Asked by People
Is Perl dying
Why Perl is so fast
Python vs Perl scripting
Python vs Perl performance
Which is better Perl or Python?
Can Python replace Perl?
Is Perl faster than Python
Which is easier to learn Perl or Python
What is the difference between Perl and Python?
Perl vs Python
Resources
Future
Ease of Learning
Used by Companies
Developer Salary
Command Line
Comment
Way of writing Code
Conclusion
Рекомендации по теме
Комментарии
Автор

Code readability is an aspect of programming style not language design. Suiability for beginners is not an appropriate aspect to answer the question "what is better". The list goes on - nearly all conclusions in this clip are wrong.

DocMacLovin
Автор

Perl is not objected oriented. There are namespaces that may be confused with OO.

Rafael-xucn
Автор

Perl allows me to write highly readable and expressive code, moreso than any of the (many) other languages I've used. Unfortunately, its ability to allow virtually unreadable code has led some to conclude it is a write-only language.

davecarvell
Автор

Haha. This vid is touting Python by saying it's slower. And it is incorrect in saying that Perl's syntax is harder to learn. It has the most flexible syntax of any programming language I've ever used. Python is the one mired in indentations and academic strictures. And if Perl is hard to learn, then maybe you shouldn't be a programmer. I never found it hard to learn. 95% of programmers aren't very logical thinkers to start with. I've learned this from 30+ yrs of experience. I would say that Python is probably a more egalitarian language for the masses who want to learn programming (kind of a Pascal) and Perl is for more "enlightened" and maybe even esoteric, experienced programmers. In other words, Perl is for accomplishing tasks and Python is for attempting tasks.

The one thing about Perl that has a learning curve - but not really, in my opinion - are the special variables like $_, @_, @ARGV, @F, $a<->$b, etc. Some of these are inherited from the Unix shell, but some are probably Perl-centric.

Perl has - by far - the most complete regex of any language. Other languages either aspire to it or have to load a perl-like regex library.

shanefelkel
welcome to shbcf.ru