On Mon, Sep 17, 2012 at 6:26 PM, MRAB <pyt...@mrabarnett.plus.com> wrote: > On 2012-09-18 00:46, Dave Angel wrote: >> An important difference from every other language I've used: The user >> of the attribute does not need to change his code when you decide it >> needs reimplementation as a property. >> >> In C++ and java, for example, people will define getter and setter >> methods just so they don't have to change them later. Just "in case" >> it's needed later. >> > C# and Delphi (IIRC) also support properties.
I don't know about Delphi, but in .NET changing between a public field and a property breaks ABI. -- http://mail.python.org/mailman/listinfo/python-list