If you have something negative about STL, I'd like to hear it ..
-
Our company, like all I'm sure, has an in-house developed class library. I've been asked to write up a comparison of STL versus our inhouse library .. and my manager has hinted he wants the report to slant favorably toward the inhouse library. So if you have a gripe about STL I'd like to hear it :-) Thanks, Dave
-
Our company, like all I'm sure, has an in-house developed class library. I've been asked to write up a comparison of STL versus our inhouse library .. and my manager has hinted he wants the report to slant favorably toward the inhouse library. So if you have a gripe about STL I'd like to hear it :-) Thanks, Dave
My big gripe is that it uses a Unix-esque naming system: short names, badly abbreviated, and badly worded. --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell." -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.
-
Our company, like all I'm sure, has an in-house developed class library. I've been asked to write up a comparison of STL versus our inhouse library .. and my manager has hinted he wants the report to slant favorably toward the inhouse library. So if you have a gripe about STL I'd like to hear it :-) Thanks, Dave
STL was not designed for inheritance. This may have changed, but last I checked destructors weren't virtual, for example, and some key information in some classes, like string, is private, making it difficult to implement certain behaviors in the inherited classes. Also, while generally fast, STL is missing some common place protections, or at least asserts in debug mode. The STL string class is completely lame. The collections classes, however, are generally nice, even if a little obscure. (Having a "common" interface may sound nice in theory but sometimes it's just plain annoying and cumbersome.) Personally, I don't like the STL interface. However I work with a guy who really likes it, so I suppose it's a matter of personal taste. (Even my co-worker has conceded, however, that the documentation of STL leaves much to be desired and many implementations, especially the Dinkumware VC6 version, are very obscure and difficult to debug.)