Perl vs. Random Syntax

Just noticed something that might be interesting to folks here, the title is "An Empirical Comparison of the Accuracy Rates of Novices using the Quorum, Perl, and Randomo Programming Languages" and the abstract finishes with "...Results showed that while Quorum users were afforded significantly greater accuracy compared to those using Perl and Randomo, Perl users were unable to write programs more accurately than those using a language designed by chance."

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Maybe it's because...

Funny article

It is a fascinating and amusing article. There is a level of logic to Perl syntax, but it is generally the opposite of the Law of Least Astonishment. I've got 18 years of Perl under my belt and I have to admit that when I try a new construction I just test to see what syntax is going to work.

Perl is not a good first language. So I'm not sure the paper is being entirely fair. All the answers are verbose long winded. A more Perlish kind of answer for example to task1 would be something like:

my ($x,$y) = (175.3, 'false');
$y = ("still false","true")[$x>100];

And because of the reduction in the number of statements I think the error count would drop.