I've seen some really slick stuff done in obfuscation, and for that, I have to give the artists credit.

I have no interest in decoding it. I thoguht I did, but it runs counter to my upbringing. In fact, I look at obfuscation without documentation as to how it works and often thing "Well what is the point?", as what is presented is often denied knowledge. There may be a really clever trick inside, but most won't find it, and in essense that's just hiding the cool tricks. (If the tricks are cool ... I don't consider the evil corners of Perl near-bugs cool in the least .. but rather, signs the language or interpreter needs improvement to be more clear)

Anyhow, some tricks involved in obfuscation bring programming back to it's earlier roots, when things weren't always written for you and trivial, and you have to invent hacks or neat ways of solving problems. I think a lot of teamster_jr's maze solving stuff, for instance, is pretty darn cool.

But I do agree, while these things are cool in obfuscated state, the ability to obfuscate isn't the interesting one, it's the ability to get a lot done in a short amount of code and the algorithms they contain.

That being said, I'd rather read and write clean interesting code myself, as to me elegance can only be found in clean code and the Zen-like simplicity of a well tailored algorithmic solution. Of course, even that is blowing smoke, I seldom achieve that either -- I just don't like to add fuel to the bigotry that is "Perl is line noise!" any more than I have to.

It's sort of like those bad movies where there are good wizards and bad wizards, and the good wizards refuse to cast the "Black" spells. I am sort of refusing to cast those spells, because the power would corrupt me and I might enjoy it.

Or take Star Wars, if you will. Yoda isn't going to cast lightening from his fingertips, that's not what Yoda does. But I'm still blowing smoke, I am no Jedi Master, sitting in a swamp down in Dagobah, where it bubbles all the time like a giant carbonated soda.


In reply to Re: Re: Principles of obfuscation? by flyingmoose
in thread Principles of obfuscation? by McMahon

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.