Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Are design patterns worth it?

by beamsack (Scribe)
on Aug 29, 2002 at 21:48 UTC ( [id://193928]=note: print w/replies, xml ) Need Help??


in reply to Are design patterns worth it?

The first chapter of the GOF book is worth reading for any OO practioners. Especially the discussion on favoring composition over inheritance. Functional programmers have been using composition since day 1. It seems like the OO movement has been trying to work functional programming back in. Design Patterns is a perfect example. Many of the patterns involve classes with only methods (such as the Strategy pattern). This goes against basic OO which defines a class as encapsulated data and the methods that operate on this data. OO teams would be wise to investigate GOF and some newer literature on OO to expand the teams vision beyond the limited capabilities of Novice level OO.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://193928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found