• Post Reply 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Design / Best Practices

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I have a question for the forum. I have recently worked on a program where I had quite a bit of trouble in the design aspect of the project. I ended up have to use a marker interface, which i my opinion was functional, but kind of a hack. My question to the board is where should I go to brush up on good java design principles? Would design patterns be appropriate in this sense?

Your thoughts and comments are welcome.

regards,

bw
 
Ranch Hand
Posts: 686
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps what I am about to say is obvious, but I do think that good design practices to a certain extent flow naturally from a fuller understanding of the capabilities of the language.

Anyways, that being said, the following site is pretty good, though itis not really java specific.

http://www.oodesign.com/
 
B West
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply. I couldn't agree more. I thought I understood things better, but this project challenged my ability to design a "complex" app.

Again, thanks for your reply!
bw
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Like Fred says, the more experience you get the better you get at doing things. (At least that's how it should work, if you are just getting "1 year of experience 10 times" instead of "10 years of experience" then you might be in the wrong field.) So a useful exercise is to look at something you designed last year, or the year before, and critique it. I often find myself asking "Why the ??? did I do it that way?". Even for something I designed a few months before, quite often there are things that could have been done better.
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I advise to learn about OOD principles before patterns. The best book I've read on this case is "Head First Object oriented Analysis and Design". I had known MUCH more when I read this book.
 
B West
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all for your replies.

It's been very informative!

bw

 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic