comp.lang.ada
 help / color / mirror / Atom feed
From: Nicholas Collin Paul Gloucester <Colin_Paul_Gloster@ACM.org>
Subject: Re: usefulness of "data hiding"
Date: Fri, 16 Jan 2009 17:21:36 +0000 (UTC)
Date: 2009-01-16T17:21:36+00:00	[thread overview]
Message-ID: <slrngn1gih.d5q.Colin_Paul_Gloster@Bluewhite64_for_Gloster.GIAN.fis.priv> (raw)
In-Reply-To: 72f07ba4-f06d-44bf-9759-0e6f0d0426d0@h20g2000yqn.googlegroups.com

On 2009-01-16, Russ P. <Russ.Paielli@gmail.com> wrote:

|----------------------------------------------------------------------|
|"Hello,"                                                              |
|----------------------------------------------------------------------|

Hi,

It has been a long time since I seemed to notice a post from you here.

|----------------------------------------------------------------------|
|"[..]                                                                 |
|                                                                      |
|I've tried to explain to them why data hiding can be useful, but I    |
|just get back a lot of flak. If any of you are interested and have the|
|time to educate them, I'd be interested in your replies to the        |
|following post, which was a reply to a post of mine. The link is      |
|                                                                      |
|http://groups.google.com/[..]                                         |
|                                                                      |
|Here is an excerpt:                                                   |
|                                                                      |
|[..]                                                                  |
|                                                                      |
|[..]                                                                  |
|*nothing* is idiot-proof."                                            |
|----------------------------------------------------------------------|

He has got you there.

|----------------------------------------------------------------------|
|" Heck, how many Java "OO" programs with dumb                         |
|getter/setter pairs for _each and any_ attribute ?"                   |
|----------------------------------------------------------------------|

Ditto.

|----------------------------------------------------------------------|
|"> As I said before, enforced encapsulation may not be appropriate for|
|> every application, but it is definitely appropriate for some.       |
|                                                                      |
|No. It is appropriate for dummy managers hiring dummy programmers. The|
|project's size and domain have nothing to do with it.                 |
|                                                                      |
|> Not                                                                 |
|> every door needs a lock, but certainly some do.                     |
|                                                                      |
|You only need locks when you don't trust your neighbours."            |
|----------------------------------------------------------------------|

Russ, it may be too hard to get through that machoist Python programmer's skull.

Good luck trying anyway,
Colin Paul Gloster



      parent reply	other threads:[~2009-01-16 17:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16  0:51 usefulness of "data hiding" Russ P.
2009-01-16  1:08 ` Russ P.
2009-01-16  1:33 ` Adam Beneschan
2009-01-17 19:05   ` Marc A. Criley
2009-01-19 16:15     ` Adam Beneschan
2009-01-16  8:57 ` Dmitry A. Kazakov
2009-01-16 23:23   ` sjw
2009-01-17  8:53     ` Dmitry A. Kazakov
2009-01-18 13:07   ` Graham Stark
2009-01-18 14:17     ` Dmitry A. Kazakov
2009-01-16 17:21 ` Nicholas Collin Paul Gloucester [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox