Notes On Writing Testable JavaScript Vol 1

When writing JavaScript, I am a big fan of minimizing functionality and variables exposed publicly, which we all know to be good practice. However, this leads to anonymous functions and functions hidden within closures.  So.... How Do You Test That? How exactly do you test private methods in JavaScript?  To…

Make It Easy

Building a successful product is usually complicated business.  With any luck a project will have an automated deployment process.  This however is only part of the equation.  Another significant part would be an automated build process. Long Term Success Long term success means making it easy for new people to…

Swift – A Quick First Impression

Swift and Xcode 6 Late last week Apple released Xcode 6 to the general public.  I've been waiting for the opportunity to try out Swift, so I started working on an idea I've had. General Thoughts This is probably a general iOS development comment, but the way you link items…

Node.js vs Python vs PyPy – A Simple Performance Comparison

IMPORTANT NOTE: The NodeJS algorithm had a slight discrepancy in it.  See this article for a correction to the performance comparison section of this article. The Algorithm Yesterday, I decided to try translate my algorithm for calculating N-Queens to JavaScript.  I've implemented the same single-thread, brute force, recursive algorithm in…