Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: beginner Rpg/Mud

by dragonchild (Archbishop)
on Sep 23, 2005 at 03:15 UTC ( #494379=note: print w/replies, xml ) Need Help??

in reply to Re: beginner Rpg/Mud
in thread beginner Rpg/Mud

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?

Replies are listed 'Best First'.
Re^3: beginner Rpg/Mud
by sauoq (Abbot) on Sep 23, 2005 at 03:59 UTC
    PerlMUD's code is poor.

    Hmm... I don't doubt it. I've never even given it the 5 minutes that you did. (++ for checking.) I just knew it existed. When I saw "MUD" and a request for a Perl example, it sprang to mind. The OP just seemed to want something that might give him some ideas for a basic design. I guess no one really wants to muck around in "muddy" code for ideas though. (Where are those groans? Let me hear 'em!)

    "My two cents aren't worth a dime.";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://494379]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-05-25 11:20 GMT
Find Nodes?
    Voting Booth?