The proposed tag change from e.g. std-variant to stdvariant may be purely cosmetical, but it would improve consistency. Major tags which reference parts of the C++ standard library use the latter format as well (not an exhaustive list):
- stdvector (2159)
- stdmap (1195)
- stdset (243)
- stdhash (50)
- stdstring (959)
- stdstack (3)
- stdarray (294)
- stdatomic (332)
Some other tags use a -
separator. These are typically tags with far fewer posts (this is an exhaustive list):
- std-bitset (85)
- std-call-once (7)
- std-function (646)
- std-filesystem (88)
- std-future (30)
- std-pair (640)
- std-source-location (8)
For the sake of consistency, I propose renaming all tags to use only one naming scheme. I find the std-xx
scheme more readable, but seeing that the most used tags use the stdxx
scheme, it might make more sense to keep it that way.
std-
more readable - I wonder if it wasn't used because of tag name limits, or if there's some other reason. I assume typing in "stdarray" would bring up stdarray and std-arraystd(-)
prefix? Why is itstdvector
(orstd-vector
) rather thancpp-vector
(orcpp-std-vector
or some other variant)? That tag in particular is really bad as far as tags go, as its description is just “A sequence type defined as part of the Standard Library.”, which doesn't even mention C++, just like its long description. C++ isn't the only language to have a standard library, and is not even the only language to name itstd
.std::
prefix for decades until Rust came along in 2010. It was simply the first. stdvector is older than the first version of Rust. Personally I find Rust's use of thestd::
prefix a bad decision, since in many cases searching for this will bring up C++ results. They could have just usedrust::
and it would have been almost as short with no conflicts.std
andstl
and What is the difference between the tagsstd
andc++-standard-library
? (with more background here).c++-std-vector
would be much better.std::vector<T, Alloc>
types. The same advantage of any other tag. Remember: tags are not about having some information on the post itself; they are about discovering and finding posts.