Re: private, protected, readonly, public

From: Date: Tue, 16 May 2006 14:09:00 +0000
Subject: Re: private, protected, readonly, public
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Stefan Walk wrote:
> I'm against visible private variables. If they are visible, they are
> part of the interface of the class, which means changing the
> implementation means a BC break.

 This is a valid point against readonly, indeed.

-- 
Sebastian Bergmann                      http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69


Thread (92 messages)

« previous php.internals (#23457) next »