2 ms·
Typically nested classes in Java make it harder to follow what each class does, where it ends and starts. The files then tend to become too big and at worst end
by watwut 7y ago
Typically nested classes in Java make it harder to follow what each class does, where it ends and starts. The files then tend to become too big and at worst end up cross referencing each others privates too much. At least, that is my experience with code that uses nested classes all the time and - I am slowly refactoring it to split classes into separate files.