Tuesday, September 4, 2012

Namespaces are obsolete

Namespaces are obsolete: To those of us who have been around for a while, namespaces have been part of the landscape. One could even say that they have been defining the large-scale of the landscape in question. However, something happened fairly recently that I think makes this venerable structure obsolete. Before I explain this development and why it’s a superior concept to namespaces, let me recapitulate what namespaces are and why they’ve been so good to us over the years… Namespaces are used for a few different things: Scope : a namespace delimits the portion of code where a name (for a class, sub-namespace, etc.) has the specified meaning. Namespaces are usually the highest-level scoping structures in a software package. Collision prevention : name collisions...(read more)

DIGITAL JUICE

No comments:

Post a Comment

Thank's!