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 say:
* Warning: Write-only code detected between lines 612 and 734. While this
code is perfectly legal, you won't have any clue what it does in two
weeks. I recommend you start over.
* Warning: Code at line 1,024 is indistinguishable from line noise or the
output of /dev/random
* Warning: Have you ever properly indented a piece of code in your entire
life? Evidently not.
* Warning: I think you can come up with a more descriptive variable name than
"foo" at line 1,523.
* Warning: Programmer attempting to re-invent the wheel at line 2,231.
There's a function that does the exact same thing on CPAN -- and it
actually works.
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: Write-only code detected between lines 612 and 734. While this
code is perfectly legal, you won't have any clue what it does in two
weeks. I recommend you start over.
* Warning: Code at line 1,024 is indistinguishable from line noise or the
output of /dev/random
* Warning: Have you ever properly indented a piece of code in your entire
life? Evidently not.
* Warning: I think you can come up with a more descriptive variable name than
"foo" at line 1,523.
* Warning: Programmer attempting to re-invent the wheel at line 2,231.
There's a function that does the exact same thing on CPAN -- and it
actually works.
Related:
- 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... - 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... - one-liner wars: n. A game popular among hackers who code in the
language APL (see {write-only language} and {line noise}).
The objective is to see who can code the most interesting... - joe code: /joh' kohd`/ n. 1. Code that is overly {tense} and
unmaintainable.
"{Perl} may be a handy program, but if you look ... - joe code /joh' kohd`/ n.
1. Code that is overly
tense and unmaintainable.
"Perl may be a handy program, but if you look at... - 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... - ABEND /a'bend/, /*-bend'/ n.
[ABnormal END]
1.
Abnormal termination (of software); crash; lossage... - talk mode n.
A feature supported by Unix, ITS, and some
other OSes that allows two or more logged-in users to set up a
real-time on-line conversation.
It combines the immediacy of talking with all the...
