Results 1 to 5 of 5
Thread: Is this a bad habit?
- 10-16-2011, 04:22 PM #1
-
Re: Is this a bad habit?
The down-side is that your code uses no OOPs technique which means that none of your code can be re-used. Also extending the code will be problematic. Say for instance you have a simple program that analyzes medical data (like one I'm working on now). If you create your analysis methods in an OOP fashion (allowing some library methods to be static, sure), you can run your program now as a simple console program, but then later should you decide to make a GUI with it, it will be much easier to extend, and you wouldn't even have to modify the existing classes.
But I think that most important for you is that you practice and learn object-oriented programming with true OOP classes, and the only way to do this is to create a lot of OOP programs.Last edited by Fubarable; 10-16-2011 at 04:30 PM.
- 10-16-2011, 04:30 PM #3
Re: Is this a bad habit?
Sorry, what's an OOP?
Last edited by nhmllr; 10-16-2011 at 04:35 PM.
-
- 10-16-2011, 04:48 PM #5
Similar Threads
-
Good habit questions: Sequence in which to write methods?
By bigsonny in forum New To JavaReplies: 6Last Post: 06-23-2011, 04:54 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks