He does say that it's his first script, so it is probably more obfuscated for him than it is for you or me or the majority of monks. (I admit, though, I had exactly the same reaction you did, but didn't say anything.)

tucano, while you have arranged your code to appear as an "L" for "Lotto", obfuscated code is more than just arranging the program in a novel way. The idea is to make the code hard to read and understand, often by (ab)using little-known features in the language, though setting something up with lots of hairy regexes and the like can also qualify.

My own two obfuscations in the Monastery "cheat" by using Lingua::Romana::Perligata -- both try feebly to hide what they're doing, but if one is fluent in the module, there wouldn't be too much work involved in figuring out what's going on (but at least a little). Making a design out of the code is rather secondary to the process (normally, though see camel code for a counterexample). Don't get discouraged! Keep on hacking.


In reply to Re: Re: Obfusc.Lotto by mpolo
in thread Obfusc.Lotto by tucano

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.