Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Design Pattern.... necessary?

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Report post to moderator
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...
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Report post to moderator
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).
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic