名字空间命名空间污染(namespace pollution)是用许多不同模块创建库时遇到的一个问题。一个典型的库模块将会有一个与之相对应的#include文件,这个文件为库中所出现的例程、...
基于44个网页-相关网页
有人说命名空间污染是软件工程中最糟糕的污染。
It has been said that namespace pollution is the worst pollution in software engineering.
为避免命名空间污染,应在集群范围定义您的资源,并保持资源定义仅在实际使用这些资源的服务器中可视。
Your resources should be defined at the cluster scope to avoid namespace pollution and keep resource definitions visible only in the servers where those resources are actually used.
应用推荐