Create a new account
How would your code look if your language had a maximum logical SLOC size for classes of 1024? (I like 2^10.)
What other features would your language need to support the types of programs you write if this constraint were in place?
Oh. For each class?
... right. Carry on.
It would look pretty much the same, and so the language would need no changes. In fact all the .pm files in my CVS repository which are over 1000 lines (and that includes documentation) are either someone elses code that I bundle with mine for compatibility (cos the new release of DBM::Deep isn't portable enough for my tastes) or are mostly __DATA__ noise. The biggest objecty file that's all my own work is 381 lines including doco and is actually three classes.
But not all my code is OO, so it isn't all
Get More Comments