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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|