C++ traps that D2 doesn't avoid yet?

Derek Parnell derek at psych.ward
Fri Nov 7 16:23:14 PST 2008


On Fri, 07 Nov 2008 07:34:26 -0800, Walter Bright wrote:

> Ary Borenszweig wrote:
>> Do you want to be able to express "I probably have a bug here"?
> 
> Even if the code is correct, if it looks like a bug, it will cause 
> problems by repeatedly being flagged by others doing a code review.

Yes, that is one more item in the "cost of maintenance". My mantra for
many, many years now has been that programming languages exist to serve
people rather than serve computers, and their greatest service is to reduce
the cost of maintenance. 

Initial coding is a once-off price and after that the (long) time following
we must pay the piper (like the 2nd law of thermodynamics insomuch as
everything decays over time unless energy is added to stop it decaying) 

There are many things in the D programming langauge that helps us reduce
maintenance costs, but more can still be done.

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list