Blog
The function getCount() defined below is supposed to return the next number every time it's called, starting with 1. (So, the first call would return 1, the next call would return 2, the next would return 3, and so on.)
Please post the answer on JSFiddle or similar service, and then post a link to your answer here. You can also post comments below or email Rangle.io's CTO, Yuri@rangle.io, if you wish to share further ideas.
Rangle.io has a unique learning culture. We are focused on a very specific technology (modern JavaScript and HTML5 applications) and a very specific process (Lean UX design with agile continuous delivery) and we've applied these practices to over 2 dozen projects. That has led to certain truths emerging over and over. Truths I'd like to present here, alongside some suggested solutions.
I have been a fan of JavaScript for a number of years now. It's a dynamic and flexible language which gives it a great deal of power. However, unlike compiled languages it is easy for syntax errors and accidental globals to creep into your code without realizing it until you actually try and run the code.
We recently released our JavaScript Development Guidelines. This post explains how and why we developed them.
Last week eight members of our team spent three days at ng-conf where we were a Platinum Sponsor this year. Nick and I gave a talk at the Hack Night on Wednesday which seems to have resonated with a lot of people.
Above is every shape you need to draw in order to master the art of sketching amazing user interfaces (UI). A circle, a square, and a triangle. That’s it.
One of the largest process problems in building single page applications with AngularJS, React or Backbone is safely maintaining the contract between the AngularJS application and the REST API.