Archive for the ‘pure functions’ Category

A Beginner’s Guide to Testing Functional JavaScript

Posted on: No Comments
Functional programming and testing. Maybe you've given them a try in isolation, but somehow you never made either a part of your regular practice. They may sound innocent by themselves, but together testing and functional programming can create an irre...

15 Ways to Write Self-documenting JavaScript

Posted on: No Comments
Isn't it fun to find a comment in code that's completely out of place and useless? It's an easy mistake to make: you change some code, and forget to remove or update the comment. A bad comment won't break your code, but imagine what would happen when ...

An Introduction to Reasonably Pure Functional Programming

Posted on: No Comments
When learning to program you're first introduced to procedural programming; this is where you control a machine by feeding it a sequential list of commands. After you have an understanding of a few language fundamentals like variables, assignment, fun...