I am writing a project that has more closely related classes than I usually need.
As classes can not contain classes, putting them all at the same module nesting level is a nightmare for organization…
To organize them so I don’t get confused (Navigator ) I am nesting modules pretty deeply. I am naming super and subclasses the same but at different module levels, so at a glance one can see the relationships.
I know from a language/compiler view that should not be an issue… But what about from a practical standpoint with the IDE?
Will autocomplete get confused, the IDE slow down more or choke at some point?
Because I have a deadline and I am getting late so would not have time to rewrite again (navigator got too messy which was slowing me down and making it hard to write code so I am redoing it with little time)
The problem with the folder solution is that you can’t put folders in modules and I want it in a module to keep autocomplete lists from getting too big.
Though autocomplete is flakily with nested modules… although the complier gets it right, autocomplete often does not work unless one uses the full namespace hierarchy when one should not have to, in DIM s and property declarations
Modules are for both actually. And folders have no effect on autocomplete lists but modules do.
A simple example from a small part of what I am working on… this is the module hierarchy for one part of it:
Microplate
Abstract ' Base classes etc for MicrotiterPlate Assay classes
Endpoint ' generic endpoint assay classes: subclasses of Abstract
Abstract ' Base classes etc for kinetic assays
Kinetic ' kinetic Assay base classes etc: subclasses of above
Abstract ' Base classes etc for kinetic assays
Velocity ' Specific classes for Enzyme assays by initial velocity