Unobfuscated Perl (#1)
A rogue group of Perl hackers has presented a plan to add a "use
really_goddamn_strict" pragma that would enforce readability and
UNobfuscation. With this pragma in force, the Perl compiler might say:
* Warning: Program contains zero comments. You've probably never seen or
used one before; they begin with a # symbol. Please start using them or
else a representative from the nearest Perl Mongers group will come to
your house and beat you over the head with a cluestick.
* Warning: Program uses a cute trick at line 125 that might make sense in
C. But this isn't C!
* Warning: Code at line 412 indicates that programmer is an idiot. Please
correct error between chair and monitor.
* Warning: While There's More Than One Way To Do It, your method at line
523 is particularly stupid. Please try again.
A rogue group of Perl hackers has presented a plan to add a "use
really_goddamn_strict" pragma that would enforce readability and
UNobfuscation. With this pragma in force, the Perl compiler might say:
* Warning: Program contains zero comments. You've probably never seen or
used one before; they begin with a # symbol. Please start using them or
else a representative from the nearest Perl Mongers group will come to
your house and beat you over the head with a cluestick.
* Warning: Program uses a cute trick at line 125 that might make sense in
C. But this isn't C!
* Warning: Code at line 412 indicates that programmer is an idiot. Please
correct error between chair and monitor.
* Warning: While There's More Than One Way To Do It, your method at line
523 is particularly stupid. Please try again.
Related:
- Unobfuscated Perl (#2)
A rogue group of Perl hackers has presented a plan to add a "use
really_goddamn_strict" pragma that would enforce readability and
UNobfuscation.
With this pragma in force, the Perl compiler might... - UNobfuscated Perl Code Contest
The Perl Gazette has announced the winners in the First Annual Unobfuscated
Perl Code Contest.
First place went to Edwin Fuller, who submitted this... - one-liner wars n.
A game popular among hackers who code in
the language APL (see write-only language and line noi
and/or useful routine in one line of operators chosen from APL's
exceedingly hairy primitive set.
A similar amusement was practiced among TECO hackers... - However, on religious issues there can be little or no compromise.
There is no position on which people are so immovable... - Warning: Please terminate GIF program.
Your wife is coming... - INTERCAL /in't*r-kal/ n.
[said by the authors to stand
for `Compiler Language With No Pronounceable Acronym'] A computer
language designed by Don Woods and James Lyons in 1972.
INTERCAL is purposely different from all other computer... - Quote #533
There's More Than One Way to Do It
-
Perl... - Real Programmer n.
[indirectly, from the book
"Real Men Don't Eat Quiche"] A particular sub-variety of
hacker:
one possessed of a flippant attitude toward complexity... - A Perl script is correct if it's halfway readable and it gets the job done
before your boss fires you.
"Programming Perl," by Larry Wall and Randal...
