Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Package Proliferation

by wfsp (Abbot)
on Jun 20, 2011 at 08:22 UTC ( #910515=note: print w/replies, xml ) Need Help??

in reply to Package Proliferation

A few years ago I refactored a _one big script_ into packages (Make everything an object?). Four of them, actually, not a million miles away from your list. :-)

While that post revolves around OO the general idea would apply without it as dragonchild pointed out.

I found the points made in this thread by Corion and davido to be true, particularly the separation of concerns and the testing.

If you carefully design a simple API for each package and stick to it you have far less "package-management to ... existing files" and no need to "doublecheck all the places I've invoked those functions". You may need a couple of runs around the block before you get the 'model' right but I think it is worth it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://910515]
[Discipulus]: marto jack of all trade!
Discipulus poloutropon in ancient greek iirc
[marto]: yeah, master of none
Discipulus πολϋθροπο ν
Discipulus boring meeting time.. see you

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-03-29 09:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (344 votes). Check out past polls.