Re: Large Java classes wanted
"K. Cassell" <[email protected]> Wed, 24 Feb 2010 20:09:47 -0000
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], J Arrizza <cppgent0@...> wrote: > > I see. Associativity and cohesiveness are concepts that are not inherent in > the software. I assume you're trying to find an indirect means of doing so, > say for example by using dags or something similar? That's right. > You could generate large classes by "reverse refactoring". Start with a well > designed, well refactored set of classes and then merge them into one large > class. Run your system over it and see if you get the original classes > back. > > John That's an interesting idea. Of course, if I designed a "massive merge" refactoring in such a way that my extract class algorithms could detect where the merge points were, I could claim 100% success when I dissembled the massive class into the original ones. (Reverse, reverse engineering.) That's why I'm hoping to get some external human opinions on my suggestions for splitting large classes in the real world. I suppose we should start new threads if we want to talk about these more philosophical discussions of result validation, cohesion/associativity, etc. I certainly wouldn't mind. Regards, Keith ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/refactoring/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/refactoring/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/