title: CommonJS for OOP in Appcelerator Titanium
body: <p>Is it good practice to write <em>all</em> javascript "classes" as CommonJS modules within an Appcelerator Titanium Mobile app instead of using functions / object notation to create a new "class" (or how you call them in javascript anyway)?</p>
  
  <pre><code>var module = require('lib/module');
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>var object = new MyClass();
  </code></pre>
  
  <p>Are there any disadvantages?</p>