Nested classes and local classes

I'm just reading up on these things.
Does/has anyone make use of them?
To me they seem like a trap for the unwary
(or programmers who want to show off :-) )
They are occasionally useful. But I usually avoid them if possible. It depends really on what you are doing. If it calls for it (or makes more sense to use it) then use it. If not then don't.

Hope that made sense.
Never use them, they over complicate the code unnecessarily. KISS (Keep It Simple) :)
Topic archived. No new replies allowed.