Getters and Setters

Mitch Chapman chapman at bioreason.com
Fri Jul 16 12:46:05 EDT 1999


Greg Ewing wrote:
> There's something to be said for designing a
> language so that the same syntax is used for
> accessing an attribute whether it's directly
> exposed or got at through a method.

You've been reading Bertrand Meyer again,
haven't you? ;)

(Object-Oriented Software Construction makes the same argument.)

-- 
Mitch Chapman
chapman at bioreason.com




More information about the Python-list mailing list