Assertfail

All Posts assertfail

View the Blog on GitHub wallymathieu

Regarding javascript namespaces

07 Apr 2012

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

  • javascript
  • Comments or errors? Fork post and do a pull request on github