I am not sure which forum I should be posting this thread. My major experience has been with programming in procedural languages. Currenlty I am workng on Java. I am able to write my codes successfully to achieve the desired results. But I am not feeling satisfied with my code. I feel I hardly use OOP features of java. I see that most of the time I land up writing static methods. Except for overloading I hardly seem to be using other features. I hardly see any concepts that I learned during certification getting used by me. Can anyone suggest me what should I do to improve on this. Thanks!!
Joined: Sep 29, 2000
Well reading some books on Object Oriented design would be good. You can check out the reviews in the BunkHouse. OR - If you are thick skinned, you can go through the Cattle Drive exercises here (it has it's own forum) and the folks there will nit-pick you until you KNOW what is good OO code and what is not. Absolutely the best learning experience around. You are welcome to post some examples either here or in the OO, Patterns, UML and Refactoring forum. PS: LOT'S of us come from procedural backgrounds and making the switch is a BEAR.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Dec 11, 2001
Do a quick analysis first with some one who has experienced OO Practice ! I will not sell you my own competence / expertise accross the world but as an occasionnal Java tutor, I end up spending with the people some time to express the concept in a set of OO class quickly. With most students (last time it was with Physists with up to 10 yr of FORTRAN only coding), I end up giving them a way they shold model / arrange the class. You are dead right saying that the leap from proc to OO is hard to do. Just ask for help ! Thomas,