On 1/9/07, Martin Cooper <[EMAIL PROTECTED]> wrote:
On 1/8/07, Henri Yandell <[EMAIL PROTECTED]> wrote:
.....

Probably because you're not used to the inner class way. ;-)

Yep. Habits are bad things to get into.

This helps with naming, but without the scoping, you're left with the
Javadocs as the only way to specify that the exception is intended to be
used only within the DirectoryWalker class. Of course, a public static inner
class can be used elsewhere as well, but the relationship with the enclosing
class makes a clear statement of intent.

We can agree to disagree, though - I was mostly just interested in what the
arguments are against using inner classes, given that I see very clear and
meaningful reasons for using them.

Ditto. Your arguments are good, so I'm quite happy to go with whatever
consensus is on this one.

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to