This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Design Pattern.... necessary? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Design Pattern.... necessary?

Richard Teston
Ranch Hand

Joined: Feb 12, 2002
Posts: 89
I have this program a database manipulation program as good java program do i have to use model view controller design pattern which i separate the GUI part, the data manipulation part, and the that one that control the two parts of the program? My senior colleagues say that it is more confusing to debug than the standard inline style programming where u can see all the part of the program in one class. I'm doing this pattern in all of my program, and they said when they try to to look at my program they have to go to another class to look what that method do.... (data manipulation part) but all the method does is to retrieve data and save data to the database. They are forcing me to use inline style of programming to standardize with them, which i'm not custom of doing, they said the code is not reusable anyway to separate them into this MVC pattern. My questions are... is that so? if the code is not reusable do i have to do it in an inline style? Does java design pattern can be used only for reusable code? Am i right in using design pattern in my code? What are the advantages of design pattern vs inline style programming? Please... please give me more understanding...

The Code is the Programmer
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please don't post the same message to multiple forums. You obviously read more than one forum, so do the people who might answer your question.
This thread is now closed. All replies to the one in Java in General (intermediate).

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Design Pattern.... necessary?
It's not a secret anymore!