After coding in Scala for a while, I brought a couple FP-isms with me to TypeScript, including Option and lazy. A couple other battle-tested, small classes and functions are also shared in this post.
I couldn't imagine working on a TypeScript codebase without these, and thought I'd share.
3 comments
[ 5.0 ms ] story [ 23.0 ms ] threadAfter coding in Scala for a while, I brought a couple FP-isms with me to TypeScript, including Option and lazy. A couple other battle-tested, small classes and functions are also shared in this post.
I couldn't imagine working on a TypeScript codebase without these, and thought I'd share.