File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes procedural  / Ws. Object Oriented coding. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "procedural  / Ws. Object Oriented coding." Watch "procedural  / Ws. Object Oriented coding." New topic

procedural / Ws. Object Oriented coding.

Gemini Moses
Ranch Hand

Joined: Jan 04, 2001
Posts: 245
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.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
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
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
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 Smets
Just another developper
I agree. Here's the link:
subject: procedural / Ws. Object Oriented coding.
It's not a secret anymore!