Why some identifiers in the standard C++ library are short?

c++

Solution

This primarily applies to the portions of the standard C++ library that have been "inherited" from C. In pre-C89 standards of the C language the significant portion of external identifiers has been limited to 6 characters; linkers were allowed to ignore the remaining characters. That is why the standard C library limited identifier length to 6 characters. C++ incorporated that library "wholesale", along with somewhat cryptic identifiers.

Problem

Why are some C++ names short and sometimes hard to understand like `strcmp`, `cout`, `cin`, etc. But in other languages like Java name are not short. Does it save time, memory or what?

Original source