3 ms·
Bash / PHP / Perl superficially look like each other. Python code looks different. But Perl has many strange operators and conventions that do not do as expect
by dotancohen 8y ago
Bash / PHP / Perl superficially look like each other. Python code looks different.
But Perl has many strange operators and conventions that do not do as expected, or are foreign to the point of being unreadable to those who don't use Perl regularly. Additionally, Perl can be made concise (one-liner) to the point of being unreadable. It's been said that Perl is a write-only language for a reason.
Contrast with Python, which I've had six-year-olds tell me what a program does after only a few minutes' introduction to Python syntax. Though to be fair, Python's List Comprehensions are in fact just as unreadable as Perl is.
- C1sc0cat 8y agoI always make a point of documenting any of the more arcane parts of perl with a reference.