Design Patterns == weakness in language

Derek Parnell derek at nomail.afraid.org
Wed Sep 13 16:47:20 PDT 2006


On Wed, 13 Sep 2006 16:15:03 -0700, Walter Bright wrote:

> Brad Anderson wrote:
>> This might be a bit OT, but I often wonder if D is going to succeed C/C++/Java
>> long-term given that it's not abstracting away a majority of known design
>> patterns.  Or, maybe that's just D 2.0 and we need to be patient.  <g>
>> 
>> http://newbabe.pobox.com/~mjd/blog/2006/09/11/#design-patterns
> 
> I've found that when I translate straightforward C++ code into 
> straightforward D code, the size of the (source) code drops 30%. That 
> means that D *is* abstracting away commonly used C++ patterns.

(Design Patterns) != (C++ patterns)

Yes, we all agree that D is a lot more efficient than C++ when it comes to
source code density. However, that has very little, if anything, to do with
"design patterns" as a programming paradigm.

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocrity!"
14/09/2006 9:45:13 AM



More information about the Digitalmars-d mailing list