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

Re: How a script becomes a module

by bibo (Pilgrim)
on Oct 08, 2004 at 03:08 UTC ( #397518=note: print w/replies, xml ) Need Help??

in reply to How a script becomes a module

First and most importantly, I think this is a great slice-of-life article about the development process.

But I am compelled to ruin the tenor of your post with the first thing that popped into my head when I saw the title. Forgive me, brian:

when a momma script and a poppa script love each other very much....

seriously, keep up the good work. I enjoy your writing.


Replies are listed 'Best First'.
Re^2: How a script becomes a module
by Anonymous Monk on Oct 08, 2004 at 22:45 UTC
    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.

      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 ' ) / }
      ( \ _ / ) _ _ _ _ ` ( ) ' _ _ _ _
      ( = ( ^ Y ^ ) = ( _ _ ^ ^ ^ ^
      _ _ _ _ \ _ ( m _ _ _ m ) _ _ _ _ _ _ _ _ _ ) c h i a n o , a l b e r t o
      Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2022-05-18 14:24 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (71 votes). Check out past polls.