The recent discussion at Some thoughts around the "is Perl code maintainable" discussion got me to thinking about the PM obfuscated code section. One of the posts talked about the Perl culture's love for obfuscation. My first reaction was a) not me, I don't like obfu or golf and rarely read posts containing them and b) the fact that some people like obfu and golf doesn't mean that the Perl community as a whole thinks they are good ideas in production code. My guess is that even people who enjoy obfu rarely use it in their day jobs. So then I began to wonder, if that's true, would it be worth stating so explicitly here at PM? I'm thinking of an extra sentece or two in the description at the top of the obfu section along the lines of:
Obfuscation and golf can be fun and can help hone skills useful in writing real code, but they are not meant to be, in themselves, good examples of Perl code. Post and read here to impress and be impressed with minutia, but put your production oriented code in the Code Catacombs or Meditations sections. In other words kids, do try this at home, just don't try it at work! :-)
That's probably a little heavy-handed but can maybe get some discussion going about what we'd like it to say.
update : corrected link to Code Catacombs, added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Better labeling of obfuscated code section
by eyepopslikeamosquito (Archbishop) on Aug 12, 2007 at 01:52 UTC | |
|
Re: Better labeling of obfuscated code section
by f00li5h (Chaplain) on Aug 12, 2007 at 08:06 UTC | |
by clinton (Priest) on Aug 12, 2007 at 11:17 UTC | |
by f00li5h (Chaplain) on Aug 12, 2007 at 11:49 UTC | |
|
Re: Better labeling of obfuscated code section
by dynamo (Chaplain) on Aug 14, 2007 at 15:58 UTC | |
by jZed (Prior) on Aug 14, 2007 at 16:08 UTC |