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

Re: When is a feature bloat?

by oakbox (Chaplain)
on Mar 22, 2003 at 10:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://245121]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found