dsrguru
Joined 14 years ago
Joined 14 years ago
Perl was intended to be a highly concise shell-like language that excelled at text processing. Partly in order to achieve such concision, the syntax overloaded various symbols to mean completely different things in different syntactic contexts, which made it very difficult for humans to parse quickly unless they worked in it very frequently (I recall the authors of either the llama or camel book estimating five times a week as the minimum). As Perl grew in popularity, objects were added on, and the whole language felt cobbled together. Perl users mainly used it as a shell replacement or for CGI scripts. Larger projects tended to be the domain of Python (or Java if concision was no longer a requirement).
And then came Ruby with syntax that was friendlier to Perl programmers than Perl itself, yet was semantically consistent, had built-in object support, and could rival Python for projects of any size, while surpassing it for the "quick and dirty scripts" that Perl excelled at. The conversation stopped being about Perl vs. Python and became Ruby vs. Python. People stopped using Perl 5.
So Perl 6 might very well be a lot more similar to Ruby (and even to Python if we exclude syntax) than it is to Perl 5.
少小離家老大回 鄉音無改鬢毛衰 兒童相見不相識 笑問客從何處來
I left my hometown as a young boy and returned as an old man.
The local speech hadn't changed, but the hair on my head had.
The children looked at me but recognized me not.
Laughing, they asked from where this visitor had come.