Tail call optimization

Tail call optimization Original author: Ruan Yifeng Date: April 10, 2015 Last call (Tail Call) is an important concept in functional programming, this article describes its meaning and usage. 1. What is a tail call? The concept of tail call is very simple. It can be said clearly in one sentence, which means that the… Continue reading Tail call optimization

React introductory example tutorial

React introductory example tutorial Original author: Ruan Yifeng Date: March 31, 2015 The most popular front-end framework right now is undoubtedly React . Last week, the React Native based on React was released. As a result, within a day, it received 5000 stars, which shows the degree of attention. React originated from Facebook’s internal project.… Continue reading React introductory example tutorial

How flexible is JavaScript?

How flexible is JavaScript? Original author: Ruan Yifeng Date: February 10, 2015 JavaScript is a flexible language with a strong expressive power. Let me give you an example that will surprise many people. This article was inspired by Kyle Simpson’s article “Iterating ES6 Numbers” . First, deploy an add method on the Number.prototype object. Number.prototype.add… Continue reading How flexible is JavaScript?