Click to See Complete Forum and Search --> : about STL


munigantipardhu
February 16th, 2009, 03:58 AM
what r the advantages of STL na disadvantages of STL can any body pick me up some of them

Igor Vartanov
February 16th, 2009, 05:28 AM
Advantages: Standard - compiler/platform independent, implements generic CS algorythms making you not to invent wheel
Template - type independent, algorithm-oriented
Library - a concept, a way of thinking; makes you think in certain categories, and eventually makes you think right


Disadvantages: Standard - implements generic CS algorythms, sometimes makes you too lazy to think out something new
Template - requires for understanding C++ templates, sometimes the code becomes something horrible to read and comprehend, poorly debuggable (at least currently), inflates size of binaries, often misguides beginners in issues of dynamic linkage
Library - implements many aspects of routine programming but requires for learning 'em systematically, learning curve becomes longer