问题描述
这可能是一个微不足道的问题,但它是最近困扰我很多。为什么有些程序员引用C ++ / STL喜欢它是一种不同的语言? STL是C ++标准库的一部分 - 因此是语言C ++的一部分。它不是一个单独的组件,它不会独自存在于C ++的范围内。然而有些人不断地表现得像一种不同的语言。为什么?
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?
推荐答案
了解STL对于了解C ++不是必要的。它是有用的,当你需要ADTs,但你可以去(可能已经走了)通过你的整个C ++的职业生涯,而不需要它。
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.
这篇关于为什么程序员有时会引用“C ++ / STL”喜欢它是一种单独的语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!