Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by cforde (Monk)
on Jun 01, 2001 at 08:34 UTC ( #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

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

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? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-08-17 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?