Regarding JavaScript namespaces
Regarding JavaScript namespaces
There seems that the there is a shift from the Crockford style global variables to lower case namespaces or mixed case. Older libraries use the Crockford style all caps.
Probably this is influenced by Crockford’s thoughts about global variables
Newer libraries use a less screamy namespace name: jQuery, Prototype, Ext, dojo, ko
Tags
Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.
Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.
Comments