Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
purely-functional-data-structures
TypeScript implementations and exercises from Chris Okasaki's book, Purely Functional Data Structures
-
tallstack
A small library (<11 kB) which defines tail recursive functions in JavaScript which avoid call stack overflow.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I've watched a lot of talks, but it was Rich Hickey's which most captivated me and, ultimately, inspired big change in how I coded. After discovering Clojure I was so desiring FP (i.e. ClojureScript) in the browser without a build step and hoard of dependencies that I wrote my own library.
I'm a web guy. And the browser is my canvas. So JavaScript is my bread and butter. But I've been dying to have more FP goodness in JavaScript. I've eagerly awaited pipelined and partial application (affording tacit style) and records and tuples (immutability all the things!). Once it gets first-class protocols it'll be near full-on Clojure in the browser.
And quick aside. Command-Query Separation. This is FP, right? Is it something which plays heavily into how you think about and write code? For me, it's a resounding yes! I made a proposal for JavaScript called Command Syntax which leans heavily on CQS and FP thinking, but at times in discussions with other JS devs I don't usually sense a deep FP connection. I feel like I'm speaking another language to another community with different cares.
The lack of tail call recursion makes JS a bit less attractive for pure FP everywhere. Though I did write a library of JS data structures based on this book, and even a virtual call stack library.
The lack of tail call recursion makes JS a bit less attractive for pure FP everywhere. Though I did write a library of JS data structures based on this book, and even a virtual call stack library.