Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Are design patterns worth it?

by beamsack (Scribe)
on Aug 29, 2002 at 21:48 UTC( #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
Node Status?
node history
Node Type: note [id://193928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2016-08-30 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (410 votes). Check out past polls.