topic: functional programming
Everything I’ve written on the subject, from the beginning of this version of the site.
-
2020
-
Apr
-
09
-
JavaScript Functional Immutable Update Performance—JOURNAL
What are the performance implications of “immutable functional updates”?
-
-
-
May
-
25
-
Making Illegal States Unrepresentable—In TypeScript—JOURNAL
Showing how Scott Wlaschin’s approach in F♯ translates to a language with a very different type system.
-
-
-
Sep
-
05
-
Data Constructors, Part 1: Understanding by Implementing —JOURNAL
Understanding an idea from Standard ML-like languages by implementing it in (boring) TypeScript.
-
-
-
Oct
-
13
-
Data Constructors, Part 2: Better TypeScript —JOURNAL
A deep dive on more idiomatic TypeScript implementations of ML-style data constructors.
-
-
-
-
2021
-
Jan
-
22
-
Using Classes for Functional Programming—JOURNAL
We tend to think classes are inherently for object-oriented programming, but they are much more flexible than that in JavaScript and TypeScript (and other languages too).
-
-
-
Feb
-
13
-
Announcement: Speaking at EmberConf 2021 —ELSEWHERE
In which I’ll be speaking for 30 minutes at a JS conference… and will spend only about 5 of those minutes on JS.
-
-
-
Mar
-
21
-
Progressive Disclosure of Complexity and Typed FP Languages—JOURNAL
Or, one part of why to some extent Elm, and to a significant degree PureScript Halogen, can be quite difficult for users to get their heads around at first.
-
-
31
-
Keep It Local—ELSEWHERE
Or: (part of) what “reasoning about your code” really means; being my EmberConf 2021 talk.
-
-
-
Nov
-
18
-
Reading “A Functional Programming Language with Versions”—LIBRARY
The first academic research I’m aware of which actually takes Semantic Versioning seriously!
-
-
-
-
2022
-
Jan
-
28
-
Announcement: Speaking at TypeVille 2022 —ELSEWHERE
On the subject of “Types as Tools for Thought”
-
-
-
-
2023
-
Jan
-
08
-
Special Null Syntax vs. Types and Functions—JOURNAL
Why does
Maybe.map
feel better than??
and friends to me? A sketch.
-
-
-