api stability

Aaron Bentley aaron.bentley at utoronto.ca
Tue Dec 20 05:10:53 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
| __foo -> private to me
| _foo -> private to me and subclasses
| foo -> public.
|
| Note that _foo is therefor a public symbol if the class is public.

I don't understand this logic.  If _foo is private to me and subclasses,
why would it also be public?

Wherever I've used _foo, I've intended to warn users that foo was not
guaranteed to be supported, but use it if you must.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDp5Jd0F+nu1YWqI0RAn7bAJ9OXlMNLhqO8pDzR9nOf9gu2Cbl6gCfZf7K
xbrqwOkwS2lrGnXeH2qB+sk=
=knWp
-----END PGP SIGNATURE-----




More information about the bazaar mailing list