From: "Jørgen P. Tjernø" Date: 2007-08-02T20:28:51+09:00 Subject: Re: Private methods not so private? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel Berger wrote: > [ .. snip .. ] > The advantage of allowing send to access private methods is that it > allows you to test private methods. :) Isn't that a Bad Practice (tm)? Private methods are mostly meant for the internals of a class, and a test should really only test how the class interacts with the rest of the world - right? (i.e. public methods) I might've missed the whole point, so this post contains Many Questionmarks. ;-) Kindest regards, J�rgen P. Tjern�. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsbDiUMzc1WGo4zgRAoJ3AJ9MtInhJTZS9Uq1ABXwxxN9rwkeVACffYBG +iCp8nwruwSH/WzNSAsbQp8= =ndYq -----END PGP SIGNATURE-----