noun

namespace

命名空間

This avoids conflicts in the global namespace.

這避免了在全域命名空間中的衝突。

Each library uses its own namespace.

每個庫都使用自己的命名空間。

in a/the namespace 在一個命名空間內。 This avoids conflicts in the global namespace.

同義詞: scope (作用域), context (上下文), domain (域) (電腦術語)

由「name」(名字)和「space」(空間)組成的複合詞。字面意思是「存放名字的空間」,主要用於程式設計領域。

可以把它想像成一個容器或「空間」,用於存放一組唯一的「名字」或標識符,以避免混淆。

本頁面旨在提供學習支援。請將其作為學習參考,而非正式詞典使用。