Dody Suria Wijaya
Recent Actions
-
Commented on Perl's "readability"
I don't fully agree with you Randall. What I found is that in practice, especially short utilities and in unix-related scripting, Perl is a lot easy to make reading difficult. There's a culture of encouraging writing hackish or 1-time use...
Comment Threads
-
Naveed Massjouni commented on
Perl's "readability"
Most of the people who say perl is unreadable either never learned perl or have never seen modern perl. The flexibility and power of perl that makes it possible to write obfuscated code also makes it possible to write code that is more readable and elegant than other languages that are more restrictive. And now for some code! Here is one of my favorite modules http://p3rl.org/Test::Class::Sugar , a DSL for writing tests:
use Test::Class::Sugar;
testclass exercises Foo {
test that Foo knows his brother {
… -
Naveed Massjouni commented on
Perl's "readability"
Sorry for the extra newlines in my last post. I put my code example inside 'pre' tags, and it seems to render it with an extra newline for each line. If someone knows a better way to post code samples, then please share :)
-
mrstlee commented on
Perl's "readability"
Is readability:
or
b) A qualitative assessment of how easy the content of the document is to comprehend (however you assess that)
or
mixture of the 2
or
other?
I find English translations of "Tractatus" easy to parse - but hard to comprehend. Enid Blyton's Famous Five adventures don't pose me the same problems, although ethically I struggle with the notion of the parents allowing 4 children and a dog to spend 2 weeks unsupervised in a remote lighthouse.
…
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.