Click here to Skip to main content
15,898,849 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsDesign Patterns: Magic or Myth? Pin
Kent Sharkey8-Jan-14 13:03
staffKent Sharkey8-Jan-14 13:03 
GeneralRe: Design Patterns: Magic or Myth? PinPopular
R. Giskard Reventlov8-Jan-14 13:25
R. Giskard Reventlov8-Jan-14 13:25 
GeneralRe: Design Patterns: Magic or Myth? Pin
Kent Sharkey8-Jan-14 13:37
staffKent Sharkey8-Jan-14 13:37 
GeneralRe: Design Patterns: Magic or Myth? Pin
R. Giskard Reventlov8-Jan-14 16:23
R. Giskard Reventlov8-Jan-14 16:23 
GeneralRe: Design Patterns: Magic or Myth? Pin
Kent Sharkey8-Jan-14 19:39
staffKent Sharkey8-Jan-14 19:39 
GeneralRe: Design Patterns: Magic or Myth? Pin
PIEBALDconsult9-Jan-14 4:04
mvePIEBALDconsult9-Jan-14 4:04 
GeneralRe: Design Patterns: Magic or Myth? Pin
Zombie Code Monkey9-Jan-14 2:41
Zombie Code Monkey9-Jan-14 2:41 
GeneralRe: Design Patterns: Magic or Myth? Pin
Bill_Hallahan8-Jan-14 16:03
Bill_Hallahan8-Jan-14 16:03 
The article at InfoQ in the first post contains:
XML
Indeed, this enthusiasm for pattern mining has tended to obscure some key questions that remain largely unanswered, such as

    the design process question: Do patterns form an effective way of exchanging design knowledge? and
    the design product question: Do patterns help us to create designs that are easier to understand and maintain?

Neither question seems to have received much consideration from design pattern enthusiasts.

A lot of the newer patterns I've read about since "Design Patterns" was written were extracted from a specific solution instead of being gleaned from a plethora of existing designs, as was done for the patterns in the book. These "new" patterns are generally not useful to me.

Some other "new" patterns I've read about are minor variations, or specializations, of patterns listed in the book. In most cases, the author of these new patterns seem unaware of the original pattern. (This seems most common for the Strategy pattern and the Observer pattern. If you put an instance in a subclass in a list, a dictionary, or make it on the fly, if the instance represents a "state", then the "Strategy" pattern is being used, and renaming for some special implementation probably will create more confusion than it will help designers).

The patterns in "Design Patterns" are extremely common. A great many designs created before the book used at least one pattern in the book. For one example from the book, most (all?) modern word processing programs that allow changing fonts and font-attributes in the world uses the Flyweight pattern. That they all use the same pattern as a specific solution is a testament to that using the pattern is good design - for that specific problem. Of course, it's not good design to use the Flyweight pattern anywhere it could be used.

The book "Design Patterns" not only names and describes patterns, but it also lists the advantages and disadvantages of a pattern. This is also missing from many new patterns I've encountered.

I think the author of that article is onto something when pointing out that those questions often aren't mentioned in the context of newer patterns, but I think the more fundamental reason that new patterns would fail to satisfy the proper answer to these questions is because the concept of "creating" patterns is likely to be flawed to begin with. Patterns should generally be "discovered" after gaining familiarity with many software solutions.

modified 8-Jan-14 22:13pm.

GeneralRe: Design Patterns: Magic or Myth? Pin
Rob Grainger9-Jan-14 1:40
Rob Grainger9-Jan-14 1:40 
GeneralRe: Design Patterns: Magic or Myth? Pin
TheGreatAndPowerfulOz9-Jan-14 4:35
TheGreatAndPowerfulOz9-Jan-14 4:35 
GeneralRe: Design Patterns: Magic or Myth? Pin
Rob Grainger9-Jan-14 7:15
Rob Grainger9-Jan-14 7:15 
GeneralRe: Design Patterns: Magic or Myth? Pin
TheGreatAndPowerfulOz9-Jan-14 7:25
TheGreatAndPowerfulOz9-Jan-14 7:25 
GeneralRe: Design Patterns: Magic or Myth? Pin
Rob Grainger9-Jan-14 7:27
Rob Grainger9-Jan-14 7:27 
GeneralRe: Design Patterns: Magic or Myth? Pin
Bill_Hallahan9-Jan-14 15:11
Bill_Hallahan9-Jan-14 15:11 
GeneralRe: Design Patterns: Magic or Myth? Pin
Chris Losinger9-Jan-14 15:16
professionalChris Losinger9-Jan-14 15:16 
NewsConfirmed: Microsoft reveals BUILD 2014 conference for April 2-4 Pin
Kent Sharkey8-Jan-14 12:48
staffKent Sharkey8-Jan-14 12:48 
NewsSecurity Essentials for Windows XP will die when the OS does Pin
Kent Sharkey8-Jan-14 11:49
staffKent Sharkey8-Jan-14 11:49 
GeneralRe: Security Essentials for Windows XP will die when the OS does Pin
Bassam Abdul-Baki9-Jan-14 6:14
professionalBassam Abdul-Baki9-Jan-14 6:14 
NewsGoogle smacked with fine for violating privacy laws Pin
Kent Sharkey8-Jan-14 11:48
staffKent Sharkey8-Jan-14 11:48 
NewsThe most in-demand tech skills: Why Java and the classics ruled 2013 Pin
Kent Sharkey8-Jan-14 11:47
staffKent Sharkey8-Jan-14 11:47 
GeneralRe: The most in-demand tech skills: Why Java and the classics ruled 2013 Pin
Rob Grainger9-Jan-14 3:15
Rob Grainger9-Jan-14 3:15 
NewsCES: The gadgets, the gizmos Pin
Jason Cardoza8-Jan-14 9:30
Jason Cardoza8-Jan-14 9:30 
NewsIf you can measure IT you can make IT better Pin
Kent Sharkey8-Jan-14 8:19
staffKent Sharkey8-Jan-14 8:19 
GeneralRe: If you can measure IT you can make IT better Pin
R. Giskard Reventlov8-Jan-14 8:25
R. Giskard Reventlov8-Jan-14 8:25 
NewsReport: Bill Gates to be 'much more involved' in Microsoft with new CEO Pin
Kent Sharkey8-Jan-14 8:14
staffKent Sharkey8-Jan-14 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.