• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Design / Best Practices  RSS feed

 
B West
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • 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
 
Fred Hamilton
Ranch Hand
Posts: 684
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Paul Clapham
Sheriff
Posts: 22719
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
stanislav bashkirtsev
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thank you all for your replies.

It's been very informative!

bw

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!