Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://193928]
[Lady_Aleena]: james28909, I use get_data in a subroutine called movies.
[Lady_Aleena]: james28909, I put it at the top of my scratchpad, if you want to look at it.
[Lady_Aleena]: I remember being pretty proud of that little sub when I wrote it.
[james28909]: oh xD

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-05-24 04:36 GMT
Find Nodes?
    Voting Booth?