From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <4b2dndBoSs7qV4WiXTWJjQ@comcast.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit References: <200307182034.h6IKYW725496@augusta.math.psu.edu>, <019401c34d71$0de28ca0$b9844051@insultant.net> Subject: Re: [9fans] don't shoot me Date: Mon, 21 Jul 2003 08:28:20 +0000 Topicbox-Message-UUID: fdd2c770-eacb-11e9-9e20-41e7f4b1d025 boyd, rounin wrote: > if you need a pattern, go knit something. > if you need code, just code it. I don't think it has much to do with XML, but "design patterns" are a genuine advancement in the field of software engineering, applicable only with support from object-oriented languages, in the case of C++ using templates to implement the patterns. The idea, which is a recurring theme in software engineering, is to leverage the programmer's efforts by enabling more applications for the same amount of work. Just as OO technology used properly avoids having to enter similar code details for multiple objects with similar properties, so design patterns used properly avoids having to create similar code scaffolding (higher-level control logic) to implement similar functionality for different unrelated object classes. If you haven't read the book by Gamma et al. you should do so. Of course, you don't need industrial-strength tools if you're just tinkering, but still you should appreciate their value.