• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Benefits of design patterns?

 
Chen ZhiJiang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the benefits of design patterns?
Is they act as a learning aid?
Is they provide standard code libraries?
Is they provide a common design vocabulary?
Is they standardize the way designs are developed?
Is they describe an object-oriented development process?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is they act as a learning aid?
No
Is they provide standard code libraries?
No
Is they provide a common design vocabulary?
Yes
Is they standardize the way designs are developed?
Yes
Is they describe an object-oriented development process?
No
 
Chen ZhiJiang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard answer for this one is three answers, is choice 1 also correct.. ?
 
Ivan Melnychuk
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ajith Kallambella:
Is they act as a learning aid?
No
Yes, they are. Fowler even mentions that "they teach by example", which is true and very valuable, specially for beginners.
Is they provide standard code libraries?
No
Is they provide a common design vocabulary?
Yes
Is they standardize the way designs are developed?
Yes
Is they describe an object-oriented development process?
No

Best regards,
Ivan.
 
David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learning design patterns is a great learning tool.
anyway they make you look good if you talk about them. that's the main benefit in my eyes.
 
noel angel
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Design patterns provide a learning tool allowing the less experienced programmer/designer to learn solutions from those who went before.
The second reason listed is that design patterns provide a vocabulary for designers to use.
I firmly agree with Dave though. The vocabulary sounds impressive. They can be overused to the detriment of project performance. All of the new ones being published seem to be the originals (Gamma ....) renamed to make them confusing and complex.
Noel
SCJP, SCWCD and soon SCEA hopefully!
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Raid:
Learning design patterns is a great learning tool.

Although I don't disagree, understanding design patterns is not easy and implementing them often adds more complexity to the whole system. I agree it can be used as a learning tool to learn how someone else solved a similar problem, but IMO they aren't exactly palatable to a rookie. That's why typically senior designers/architects deal with them more often than programmers. Talk about design patterns to an entry level programmer and watch his reaction !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic