Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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?


Comment on Re^2: beginner Rpg/Mud
Download Code
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!)

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://494379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-12-28 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls