I was told to make a post here to understand why is my question wrong after it was placed on hold: How is it called when you define constants that simply refer to a large namespace?
Context
The question asks, essentially, how is it called when you create constants that refer to large namespaces in an attempt to simplify the writing. Basically, something like:
Sprite = Super::Large:Namespace::Graphics::Sprite
Closing reason
The reason, it seems, is that my question is a guessing game (at least that's the most upvoted reason).
My reasoning
According to the the linked blog post regarding guessing games, such questions involve vague, broad descriptions. However, I don't think that my question is vague at all. I am describing, very accurately, every step involved in the practice (which is to create constantes referring to large namespaces). I know perfectly well every aspect of the practice, but I don't know how is it called, which is what I'm asking.
Examples
- What is this (anti?)pattern called? (or how to describe it). The asker accurately describes an (anti)pattern, and wants to know how is it called:
I don't have a practical problem to solve here; it's just bugging me that there seems to be a common design element that I can't put a name to.
- Vocabulary: Should I call this apply or map?. The asker has a construct design, but is not sure whether it is a map or an apply method.
Would you call this specific construct a [...] or would it better be [...]
- What it is a data structure of a certain type called?. He's creating a data structure and doesn't know how is it called.
What is this called?
- How do you call the process of taking a part of a function and making an individual function of it?. The asker describes a process and wants to know its technical term.
I know there was a technical term for this. I'm just can't remember what it was.
- Is there a name for being able to quickly find the relevant code?. The asker is describing some sort of "ability to find relevant code", but he doesn't know how it is called, so he made the question:
It's obviously part of maintainability, but is there a name for this specific, desirable, property?
How are all those open, upvoted questions different from mine? Why was mine closed exactly?
They all accurately describe something, and they all want to know how is it called. I'm fairly certain that I am doing the same.
In fact, my question happened to be answered. The answer was Type Aliasing.