Code is a language used by people to be understood both by the machine and other people. Obfuscated is this very same language used in a way that only the machine can understand (though other people can try and understand what the $@%&* you tried to do...)

If obfuscated can can automatically be translated (by -MO=Deparse for example), it's not really worth it. Using $" to mean space or $^F for 2 is not really that intersting. I won't talk about the use of crypt() to get the string you want after hours of computing... (besides, it depends on the local crypt(3) system call, so it's not portable).

Automatically obfscating code is like producing automated poetry. Who wants to read and understand that? So yes better obfuscated code is not the product of poorly written code. To my mind, it's the result of a process: the alteration of an algorithm so that not many people can understand what the machine is doing, and how. Even though the variables values are know, and the whitespace is still here.

(no I don't know why I posted this here, but I'll do a long something about obfuscation here when my thoughts are clear on this issue...)


In reply to Re: Re: Re: Can anyone figure this out? by BooK
in thread Can anyone figure this out? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.