Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: How a script becomes a module

by Anonymous Monk
on Oct 08, 2004 at 22:45 UTC ( #397800=note: print w/ replies, xml ) Need Help??

in reply to Re: How a script becomes a module
in thread How a script becomes a module

And you are right: When a modulino script is on your disk and you are writig or improving another script to the modulino stage there are two adult scripts. If these two scripts do some similar things (=they love each other) then it's time to abstract a module out of one script (the momma script) and call it from the other script (the poppa script).

See you were more serious than you thought.

Comment on Re^2: How a script becomes a module
Re^3: How a script becomes a module
by chanio (Priest) on Aug 05, 2005 at 06:20 UTC
    Some years ago I read a small architecture book about Organic Structure of Cities in the old continent. It compared new structured cities with those evolved from very ancient dessigns. It concluded that those ancient had a more organically living society because of the number of classes that shared every day the same space. Their creativity was improved because their structure evolved by a constant need to do so. And didn't make isolated places for any specific function: the baker shared the university zone with the butcher and the bussiness man, etc.

    I guess that the same could be thought about programming dessign. But in a structured way of thinking, you should only structure what is required. Always following mother nature's law of minimum effort.

    { \ ( ' v ' ) / }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2014-12-29 03:45 GMT
Find Nodes?
    Voting Booth?

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

    Results (184 votes), past polls