Home > Technical > JavaScript as a First Class Language

JavaScript as a First Class Language

December 8th, 2011

A couple of weeks ago I presented at the internal ThoughtWorks conference called XConf about how we have been treating JavaScript as a First Class Language recently on our current project. What it means to us is:

  • Modularise JS code (JAWR helps)
  • Unit test it. (we use Jasmine and JSTestDriver)
  • Static analysis, “checkstyle for JS”. (we use JSHint)
  • JS Dependency Injection to facilitate testing

Here are the slides with more info and some code samples.

Technical , , ,

  1. Adam Nowotny
    December 23rd, 2011 at 16:55 | #1

    For modules you might want to look at http://requirejs.org/ which uses the Asynchronous Module Definition standard. Some usage examples https://github.com/AdamNowotny/BuildReactor

  1. March 5th, 2012 at 23:28 | #1
  2. June 26th, 2012 at 16:24 | #2
  3. February 13th, 2013 at 18:57 | #3