Posted by: Anonymous
on April 07, 2008 09:11 PM
Hey Ada guy,
Perl5 is certainly a tricky parse, but I disagree about your comments on typos. If you're using strict and warnings, anything of that nature will usually become readily apparent (mistyped hash keys are one exception due to autovivification).
Personally, I like sigils ($,@,%), they confer information at a glance (I hated them at first though). One of the things perl6 will be clearing up, is a lot of the ambiguity and making for a cleaner parse and syntax. For instance, sigils will not change based on context. You will always use @ for arrays, always % for hashes, whether you are accessing it in a scalar context or not. And even as far as Perl 5, there are certainly a lot of ways to express the same idiom, but if you are halfway knowledgeable, it's not hard at all to figure out how the program will "behave". If you're not golfing, it's quite easy to write easy-to- understand code.
Then again, perl6 been a long time coming, and still has a way to go. Not quite Duke Nukem, but it's been awhile.