It is generally known that JavaScript supports a functional style of programming. But because it does not have algebraic data types, the functional programming is usually limited to some simple higher order functions applied to Arrays.
I have often build small libraries that allow working with some aspects of algebraic data types in JavaScript.
This time I thought is was cool enough to write a bit about it:
Algebraic Data Types in JavaScript
It includes:...
The Algebra of Data, and the Calculus of Mutation
Kalani Thielen's The Algebra of Data, and the Calculus of Mutation is a very good explanation of ADTs, and also scratches the surfaces of Zippers: With the spreading popularity of languages...
What needs to be done?
So suppose like many here (?) you are a believer in the promise of functional programming. And suppose more and more FP features and FP languages are becoming mainstream. Does this mean...
Clojurescript
Here's another interesting project targeting the assembly language of the web... ClojureScript seeks to address the weak link in the client/embedded application development story by...
Post new comment