On Wed, 30 Nov 2016 18:24:11 +0700
Ryan Joseph <r...@thealchemistguild.com> wrote:

>[...] I can wrap my head around nested types in classes because they’re 
>necessary for generics I just learned but nested classes feel messy. Is there 
>at least some namespace protection?

Yes.
And it follows visibility rules.

> That would be a benefit I suppose if the class was only ever used
> inside that class but a unit may be a better option in that case.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to