Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: (Software Engr) Encapsulate! No,no,no! Decouple!

by cforde (Monk)
on Jun 01, 2001 at 08:34 UTC ( [id://84846]=note: print w/replies, xml ) Need Help??


in reply to (Software Engr) Encapsulate! No,no,no! Decouple!

This isn't really about encapsulation vs. decoupling. Encapsulation is about information hiding--keeping the details hidden, decoupling is about separating a function into smaller pieces, generally for ease of reuse. What you are talking about is configuration information that can be separated into two places. This might, or might not be a good thing. It could be good if you, as the administrator want to have sole control over the server operational parameters, but want to give someone else, say a data administrator, the ability to update the welcome message without having to bother you.

This is a nice ability to have. Having multiple files comprise the configuration of the server is not necessarily good or bad. It depends on how you want to manage the service.

Have fun,
Carl Forde

Replies are listed 'Best First'.
Re: Re: (Software Engr) Encapsulate! No,no,no! Decouple!
by EdwardG (Vicar) on Nov 20, 2003 at 16:39 UTC

        Encapsulation is about information hiding--keeping the details hidden...

    "Encapsulation is the process of hiding all of the details of an object that do not contribute to its essential characteristics."
    - Booch, 1991

    "Encrapsulation is the process of hiding all of the details of an object that do not contribute to its essential characteristics, especially the shitty parts."
    - EdwardG, 2003

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found