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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

You could have just as easily said the same thing about objects as patterns.

Right on. I once worked for a project manager who couldn't make it two sentences without saying 'object'. He was very fond of patterns as well, and seemed to believe that if he made everything object oriented and utilized patterns then the project would succeed. 'Scalable' was the other word he loved: imagine a multithreaded server (in C++ for efficiency!) for sending messages over wireless networks. Never mind that all the messages went out ONE network device!!

Well, guess what, not only did the software not work reliably, but it became an example of how not to build that type of system.

No question there are clear advantages to OO programming and the incorporation of some design patterns; the real problem is believing that they are a panacea. A good dose of The Mythical Man-Month I think would be a sufficient countermeasure to OO/DP fixation.

Now if you want a really painful read, try Patterns of Software by Richard Gabriel. 200 pages of tedious speculation on the qualities of "good" software, which ultimately turns out to be the question of what constitutes objective beauty. He ends of up calling this thing "the quality without a name" and can only gesture at it with obscure utterances like "A system has this quality when it is at peace with itself, when it has no internal contradictions ... when it is true to its own inner forces". Now, I majored in Philosophy, and so talk like this strikes a chord with me, but by god, this doesn't help much when you're staring down an Emacs buffer!

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

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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2023-12-09 17:11 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (38 votes). Check out past polls.