Practical design patterns in JavaScript - 2016-02-03

One of the most important aspects of writing maintainable code is being able to notice the repeating themes in that code and optimize them. This is an area where knowledge of design patterns can prove invaluable.

I take a look at a number of popular JavaScript design patterns and explore why certain patterns may be suitable for your projects.

ััƒัle.js fundamentals - 2016-02-02

Cycle.js is a framework where your app is described as a simple function taking an event stream as input and outputting an event stream.

Cycle.js builds on RxJS and is as a reactive and functional JavaScript framework. What does that mean?

The difference between throttling and debouncing - 2016-01-11

One of the biggest mistakes I see when looking to optimize existing code is the absence of the debounce/throttle function. Both of them are ways to limit the amount of JavaScript you are executing based on DOM events for performance reasons. But they are, you guessed it, different.

Kata: Are they square? - 2016-01-09

Write a function that checks whether all elements in an array are square numbers. The function should be able to take any number of array elements.

Kata: Reverse words - 2015-09-13

Write a reverseWords function that accepts a string a parameter, and reverses each word in the string. Every space should stay, so you cannot use words from Prelude.