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

Re^3: So much interconnectedness - good or bad?

by DentArthurDent (Monk)
on Dec 17, 2004 at 14:46 UTC ( #415640=note: print w/ replies, xml ) Need Help??


in reply to Re^2: So much interconnectedness - good or bad?
in thread So much interconnectedness - good or bad?

In a vacuum with no other functions to consider it doesn't matter. Let's put it this way. You can't go wrong putting it in a new library or module. That's especially true if there are many functions that X and Y share. You can go wrong putting it in X. If you followed the same procedure and added one to Y that X uses after that then you're right back where you're at right now.

That's why each module should do one job to the greatest extent possible. Your lowest level modules might be a bit of a mishmash because they could provide many low level services, but higher level ones should do one job so that they don't need to depend on one another. That way when you want to do one specific thing, you can include as little as possible and not have to get a huge group of modules to do one small job.

----
My mission: To boldy split infinitives that have never been split before!


Comment on Re^3: So much interconnectedness - good or bad?
Re^4: So much interconnectedness - good or bad?
by kiat (Vicar) on Dec 17, 2004 at 14:57 UTC
    Ah, no wonder forum code like YaBB and ikonboard have so many modules :)

    Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-07-10 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls