Ick. PerlMUD's code is poor. I've been perusing it for about 5min and I've already found 3 bugs and about 300 style violations, not to mention a simple refactoring would make it about 10x more efficient. Its near-complete lack of CPAN-usage looks to be a misguided attempt to be compatible back to 5.001 (as its documentation states). I mean, do you really need 5k CLOC to implement a rather basic client-server app in Perl?

Update: After a /msg discussion with sauoq, we've come to the conclusion that I mispoke when I said and about 300 style violations. Instead, I should have said "and about 300 things that make it utterly nauseating to read and very dangerous to modify." This is because he pointed out that there is no universally accepted style guide for writing Perl code, other than what perl says is ok, and I agree.

That said, please follow this idea at Commonly accepted style guide?.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

In reply to Re^2: beginner Rpg/Mud by dragonchild
in thread beginner Rpg/Mud by sicone

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.