[Exceptional C++ Style] Fw: const data - was Item 17
Terje Slettebø
tslettebo at broadpark.no
Mon Dec 27 04:44:57 EST 2004
>Kevlin Henney <kevlin at curbralan.com>:
> In message <008301c4e916$bc608150$0300000a at pc>, Terje Slettebø
> <tslettebo at broadpark.no> writes
> [...]
> >
> >Yeah, and so far your posting is in agreement with mine, as well as adding
> >the point about simple/simplistic. I had the impression that it was meant
> to
> >contrast my posting (starting with "The problem..."), but perhaps not.
>
> Sorry if my intent was misunderstood: my was intended to supplement and
> extend rather than disagree with or contradict your posting, except
> for...
Ah, ok. :)
> >> >>, and solve the problems we have instead of going to premature
> >> >> generalisations or solving the problems possible for the next century.
> >> >
> >> >Generalisation is rather orthogonal to encapsulation, I think.
> >>
> >> Except when it isn't ;-)
> >
> >Could you elaborate?
>
> Generalisation is the process of taking a step back from the specifics,
> which is something that often occurs with encapsulation. They are both
> abstraction processes, albeit with different aims. However, this does
> mean that they are not necessarily orthogonal.
Good point. You're right.
Regards,
Terje
More information about the Effective-cpp
mailing list