J
jacob navia
I was browsing the web pages of les haltton, a software engineering
professor ( http://www.leshaltton.org ) and I found this data in
htp://www.leshatton.org/Documents/dross_2006.pdf
< begin quote >
Summary of known measurements
• C++ OO systems have comparable defect densities to conventional C or
Pascal systems.
• Each defect in a C++ OO system takes about twice as long to fix as in
a conventional system.
This is true for both simple defects AND difficult ones. The whole
distribution is right shifted.
• Components using inheritance have been observed to have 6 times the
defect density.
How much of this is attributable to C++ is unknown.
< end quote >
It is obvious that beside the much touted hype, OO systems have
not brought any real improvement to C. The problem is in my
opinion, the staggering complexity of those systems, what
makes debugging thema nightmare unless you wrote them.
jacob
professor ( http://www.leshaltton.org ) and I found this data in
htp://www.leshatton.org/Documents/dross_2006.pdf
< begin quote >
Summary of known measurements
• C++ OO systems have comparable defect densities to conventional C or
Pascal systems.
• Each defect in a C++ OO system takes about twice as long to fix as in
a conventional system.
This is true for both simple defects AND difficult ones. The whole
distribution is right shifted.
• Components using inheritance have been observed to have 6 times the
defect density.
How much of this is attributable to C++ is unknown.
< end quote >
It is obvious that beside the much touted hype, OO systems have
not brought any real improvement to C. The problem is in my
opinion, the staggering complexity of those systems, what
makes debugging thema nightmare unless you wrote them.
jacob