Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. If you have something negative about STL, I'd like to hear it ..

If you have something negative about STL, I'd like to hear it ..

Scheduled Pinned Locked Moved IT & Infrastructure
c++
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    David Patrick
    wrote on last edited by
    #1

    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

    M L 2 Replies Last reply
    0
    • D David Patrick

      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

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • D David Patrick

        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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        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.)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups