Archive for 28. November 2006

Re: Re: Re: Re: Re: Re: Item 42: Don’t give away your internals… ;-)
Dear Atul, I now see your point about using a struct instead and that makes sense to me. I’ll take my time to look at least at some of the references (more...)
Re: Re: Re: Re: Re: Item 42: Don’t give away your internals… ;-)
Dear Peter The post addresses point 1 ... I will deal with point 2 in another post... --- cheers atul atul wrote: Dear Peter I think we are discussing two different things here... 1. The violation (more...)
Re: Re: Re: Re: Item 42: Don’t give away your internals… ;-)
Dear Peter I think we are discussing two different things here... 1. The violation of Item 42 -- this applies to, for example, Pong::port, Pong::setPort, Pong::ipAddress, Pong::setIpAddress, Packet::setTtl, Packet::ttl, NodeAddress::hostName, NodeAddress::setHostName etc... And 2. (more...)
Re: Re: Re: Item 42: Don’t give away your internals… ;-)
Dear Atul, I continue to insist that NodeAddress does not qualify under Item 42. Item 42 explicitly states that exposing handles or pointers or references to the internal representation is bad (more...)

« Previous Page