Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do programmers sometimes refer to "C++/STL" like it's a separate language?

Tags:

c++

stl

This may seem a trivial question, but it's one that's bothered me a lot lately. Why do some programmers refer to "C++/STL" like it's a different language? The STL is part of the C++ standard library -- and therefore is part of the language, "C++". It's not a separate component, and it does not live alone in the scope of things C++. Yet some continually act like it's a different language altogether. Why?

like image 290
Billy ONeal Avatar asked Mar 15 '10 00:03

Billy ONeal


2 Answers

It's possible to be a competent and experienced C++ programmer and never use the STL. You may be using Boost or ACE, or been an MFC windows programmer for 10 years.

If you want someone experienced in using the STL, asking for someone who knows C++ is no guarantee that you'll get one.

Also for my mind, writing code that's heavily dependent on the STL feels very different to writing, say, MFC code. They might as well be different languages. They certainly won't look particularly similar.

like image 69
Spike Avatar answered Oct 05 '22 23:10

Spike


An understanding of the STL isn't necessary to understand C++. It's useful to have when you need ADTs, but you can go (could have gone?) through your whole C++ career without needing it.

like image 40
Ignacio Vazquez-Abrams Avatar answered Oct 05 '22 22:10

Ignacio Vazquez-Abrams