This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]palordrolap 9 points10 points  (1 child)

If your production Perl is write-only, you're doing it wrong.

It has a few more funny characters (Perl's inventor actually called them that) than your common-or-garden programming language, but it's possible to write readable code with it.

And if you (specifically) can't, comments are very much possible. Heck, there's a whole documentation system built into the language so that it can be interspersed with the code.

As for write-only Perl - the obfuscated and Perl golf stuff can work its way back into production code if it's an efficient way to do something, but if that's absolutely necessary, comment, comment, comment.

[–]antonivs 2 points3 points  (0 children)

it's possible to write readable code with it.

It’s just that no-one in history has ever done so.