I would like to get the opinions of the members of this forum on whether you think it is better to write a single class with all the functions, declarations, etc. or do you consider it better form to group similar functions/subs into smaller classes? Why? What are the advantages/disadvantages of both methods?
Single Class or Several Small Classes?
Collapse
X
-
Originally posted by KodeKrazyI would like to get the opinions of the members of this forum on whether you think it is better to write a single class with all the functions, declarations, etc. or do you consider it better form to group similar functions/subs into smaller classes? Why? What are the advantages/disadvantages of both methods?
I usually have all the public declarations in only one, but the procedures are well grouped; If working on a calculator, i'd use a Calculus, Trigonometrics, Basics, etc.
Each one with 10 to 15 procs.
Its easier to find things and to keep it all organized. But i think it depends on how it works for each one.
Comment