Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: When is a feature bloat?

by oakbox (Chaplain)
on Mar 22, 2003 at 10:59 UTC ( #245121=note: print w/replies, xml ) Need Help??


in reply to When is a feature bloat?

Have a goal in mind and stick with it. When your module starts performing functions outside that goal, it is bloating.
Any function that is not inline with the goal of the module, but would be a nice addition belongs in a second module that inherits from the first.
A good example of this is GD. GD's goal is to provide an interface to a few primitives of image manipulation. That's ALL IT DOES. Graphing, 3D graphing, image resizing, etc etc etc, are all out in different modules.
That's my yardstick, anyway.

oakbox

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2020-04-06 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (36 votes). Check out past polls.

    Notices?