I know that there is no single "ideal" size of a class file, but still...
Are there any data (like studies, not like opinion) on what is the optimum size for a class file?
I know that there is no single "ideal" size of a class file, but still...
Are there any data (like studies, not like opinion) on what is the optimum size for a class file?
I'd say the optimum size would be enough code for the class to do its job.
Opinion: The smallest possible size that does the job, while maintaining readability but promoting brevity.
In academia there is some work on the subject to try and be more formal.
I wouldn't care about the size of the class file, but about the size of the source file.
Usually the class file size is roughly a function of the source file size, but that's no reason to observe the size of the class file.