Proverbs, aphorisms, quotations (English) | by Linux fortune |
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. | |
Management: How many feet do mice have? Reply: Mice have four feet. M: Elaborate! R: Mice have five appendages, and four of them are feet. M: No discussion of fifth appendage! R: Mice have five appendages; four of them are feet; one is a tail. M: What? Feet with no legs? R: Mice have four legs, four feet, and one tail per unit-mouse. M: Confusing -- is that a total of 9 appendages? R: Mice have four leg-foot assemblies and one tail assembly per body. M: Does not fully discuss the issue! R: Each mouse comes equipped with four legs and a tail. Each leg is equipped with a foot at the end opposite the body; the tail is not equipped with a foot. M: Descriptive? Yes. Forceful NO! R: Allotment of appendages for mice will be: Four foot-leg assemblies, one tail. Deviation from this policy is not permitted as it would constitute misapportionment of scarce appendage assets. M: Too authoritarian; stifles creativity! R: Mice have four feet; each foot is attached to a small leg joined integrally with the overall mouse structural sub-system. Also attached to the mouse sub-system is a thin tail, non-functional and ornamental in nature. M: Too verbose/scientific. Answer the question! R: Mice have four feet. |