Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re (tilly) 1: What you want and perl advocacy gone way wrong

by jepri (Parson)
on Jan 17, 2001 at 18:05 UTC ( [id://52510]=note: print w/replies, xml ) Need Help??


in reply to Re (tilly) 1: What you want and perl advocacy gone way wrong
in thread module info

I agree that all those things are good practise, but I feel there is more to it. A code map along the lines of "Well, we're going to have a main routine which fires up different function libraries depending on the cgi params, each case will be handled like this:....". You know, a general layout including future directions for the coders to go in. You need something like that when you have three people working on the same code.

And yes, their main problem was that they didn't understand OO in the slightest, and were using global variables rather than presenting methods/data in a useful, consistant way. I suspect if they had sat down and written out what they were trying to do, they would have started to spot ways to improve their code. Perhaps that's program design versus programming. The code had apparently grown out of a 'quick hack' that someone put together one day, so it was kinda lumpy and directionless.

In my mind good documentation is an art as much as coding or writing is. It isn't necessarily explaining what every line does. Having said that I'm off to edit my code snippit before somebody reads all my posts and plays spot the hippocritic bastard :)

____________________
Jeremy
I didn't believe in evil until I dated it.

  • Comment on Re: Re (tilly) 1: What you want and perl advocacy gone way wrong

Replies are listed 'Best First'.
Re (tilly) 4: What you want and perl advocacy gone way wrong
by tilly (Archbishop) on Jan 18, 2001 at 04:04 UTC
    IMHO you are describing the difference between programming and coding...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-19 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found