A puzzle to start things off - what is going on here? var a = "cat"; (function() { var a = "dog"; delete a; a ...Read More
Month: January 2012
Stories and Story Maps (Story Maps part 1)
Here at Caplin we use and are constantly evaluating Agile practices and techniques that make software development and maintenance as efficient as possible. In particular to the practice of BDD, which ‘utilises stories ...Read More
The WHY of WAT
Recently a talk given by Gary Bernhardt at CodeMash has been doing the rounds. In it, he pokes fun at some apparently crazy behaviours in Ruby and Javascript. ...Read More
Caplin Thrower – Mobile Hackday Project
While the rise of internet-capable mobile devices has solved a lot of problems, it has also brought a host of new problems with it. One problem you may encounter is that as your customers are now using multiple devices to access ...Read More
JavaScript is Hard Part 2: The Hidden World of Hoisting
If you are interviewing prospective JavaScript developers and you feel like being a little bit mean then you could do worse than ask this question: In JavaScript, is it possible to call a function before it has ...Read More
Testing Asynchronous JavaScript with Jasmine
For many applications, when you call a method the effect is immediate. For example calling a method like showErrorMessage("Error") will instantly update the page to give feedback to the user. However, not all applications are this simple. Caplin ...Read More
JavaScript is Hard Part 1: You Can’t Trust Arrays
We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns – there are things we do not know we don't know. - Donald ...Read More
Scaling JavaScript
When your JavaScript codebase consists of a couple of functions to do image rollover and form validation, then javascript seems like an extremely easy language. It has relatively little bureaucracy for getting simple things done, an extremely useful literal notation for ...Read More
Design Driven Testing: Test Smarter, not Harder
Design Driven Testing TDD is a great methodology that I would expect most developers to have a good knowledge of. That said, I can count on one hand the number of developers I have ...Read More