Link Details

Link 15480 thumbnail
User 212444 avatar

By bscarr
via garyshort.org
Published: Mar 08 2007 / 03:10

Design patterns are important in software engineering as they provide a tried and tested method of solving a set of business problems. As my pattern knowledge is a little rusty, I thought I’d take another look at them here; if you want, you guys can come along for the ride.
  • 9
  • 0
  • 2368
  • 795

Comments

Add your comment
User 179375 avatar

Ricky Clarkson replied ago:

-1 votes Vote down Vote up Reply

Design Pattern = Language Anti-pattern

I.e., the use of a design pattern shows that a feature could be added to the language to get rid of the repetitive code. I described a hypothetical language that removes the need for the factory pattern, in the comments for that blog. I think Lisp lets you do it, approximately, and probably even Java does through bytecode mucking.

User 217374 avatar

senfo replied ago:

1 votes Vote down Vote up Reply

Cool post and I'm glad to see that this made the front page. I posted a wiki link on design patterns last week and it got voted lame. It kind of bothered me because I couldn't understand how a community of developers wouldn't find interest in such an important topic.

http://www.dzone.com/links/advanced_oop_design_patterns.html
http://en.wikipedia.org/wiki/Design_Patterns#Creational_patterns.2C_Chapter_3

User 0 avatar

Scoundrel replied ago:

0 votes Vote down Vote up Reply

Conventional design patterns (e.g. the factory pattern) just represent a design flaw in the language. Functional programming languages render most conventional design pattern obsolete as a consequence. However, functional languages have their own patterns...

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)