Prefer Records of Functions to Interfaces
Matthew Doig
93

> First we’ve needed to create an additional type that implements our interface.

You could have used an object expression, which keeps things expression-based and functional-friendly (and you only need one keyword “abstract” — “interface” is not used then)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.