Results 1 to 2 of 2
Thread: [SOLVED] code organization
- 05-27-2008, 03:06 AM #1
[SOLVED] code organization
I had another thread about this but i marked it as [SOLVED] since i thought i had it figured out. But it turns out I didn't. I have a project that I'm making with one driver class and many other classes that the driver class will use. So I started out having the driver class as the superclass and the rest subclasses, but then i realised that there is no reason for the subclasses to inherit the driver class as they do not use it. It's the other way around, the driver class uses all the subclasses. Should the driver class be seperate from the class hierarchy and just use them all? I'm confused, please reply.
- 05-27-2008, 04:46 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
It's depend on your application, the way you want to implement it. Normally why we followed those concepts is to maintain a much better, readable, maintainable code development for future changes.
Similar Threads
-
I need help fixing my code.. or non code?
By MrHuggykins in forum New To JavaReplies: 1Last Post: 03-19-2008, 10:12 PM -
Here is my code, can anyone here help me?
By Java_Man in forum New To JavaReplies: 1Last Post: 02-16-2008, 02:41 AM -
Pls some one to help mi wit this code
By _nik_ in forum New To JavaReplies: 3Last Post: 02-10-2008, 02:02 AM -
class organization question
By maa11235 in forum New To JavaReplies: 0Last Post: 12-17-2007, 03:25 AM -
Generating Code Automatically Using Custom code Template In Eclipse
By JavaForums in forum EclipseReplies: 1Last Post: 04-26-2007, 03:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks