Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Strictly speaking, I can't disagree with you at all. Patternitis has (or had, it may have blown over by now) become a serious problem in dev shops. I'm primarily a C++ weenie. People call me a "senior" programmer, but whatever. I've got a couple people working with me and they LOVE nothing more than to show me how nice all their pattern usage is.

But I have to say I've eaten up all the DP books and papers I could, finding that they're delightful keys to large-scale design and even small scale when I know I'm looking at boilerplate structure that 'smells' reusable even though it doesn't look it (even though most of them are pedantic pieces of crap.) Usually I can look around and re-browse through pattern catalogs until I see someone who's rephrased my problem. So I can't sell it short.

The DP thing in general seems to me to show that there is a certain critical mass in code size, after which you need to really think deeply about higher-order structural organization and does so by demonstration rather than just saying "reduce, reuse, recycle" over and over again.

BUT, there are people floating around the DP mailing lists who believe that every single line of code should be a part of a pattern and that a project should be able to be described completely in terms of patterns. (These are people who seem to spend a great deal more time writing papers than designing systems.) And it never ceases to amaze me how hard people will try to MAKE their code fir into a pattern. (This is regrettably true whether the coder is a newly formed DP convert or not.)

Design Patterns: A force so great it can only be used for Good or Evil.


In reply to Re: Design Patterns Considered Harmful by Voronich
in thread Design Patterns Considered Harmful by dws

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-19 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found