Example of Functional Programming in Three Web Languages

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby featherFunctional programming is all the rage in the Javascript community this year, and I’ve been doing a lot of it lately because I’ve been using Redux on my latest project at work. It occurred to me that web developers have had some of the building blocks of functional programming for over two decades. Here are examples of a functional approach, mapping an array to a new array, in just three languages popular in web development, ones that I’m familiar with.

Continue reading Example of Functional Programming in Three Web Languages

Let’s Compare Javascript Testing Frameworks

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby featherTesting your code is one of the most important things that you can do to make yourself a better coder. That’s not just because testing can prevent you from breaking previously-working code when you make changes (also known as regressions), but more importantly, it forces you to write better code in the first place.

We have known about the benefits of testing to prevent regression for a long time. That testing encourages better code in the first place is a viewpoint that is honored more in theory than practice.

In this article, I will compare javascript testing frameworks, so that you can see how easy it is to get started, and see which one makes the most sense for you. Continue reading Let’s Compare Javascript Testing Frameworks