Writing a strongly typed flip function in TypeScript I've talked about flip functions before. At the request of a reader, it's time to explore a more robust, strongly typed version. Let's dive in.
Why my functions are usually curried Most functions I write are curried. Some people are put off by its unfamiliarity, while others love it. Are you scared? Let's unmask the spooky ghost and see it for what it is, scooby-doo style.
Using TypeScript to write compile-time-safe enumeration type handlers Well written types enforce compile-time guarantees in your code that needs no tests to guarantee functional correctness. At the very least…
4 simple things that will help you handle enumeration types better in a rapidly evolving… Enums are compile-time constants. They don’t respond well to change — they weren’t meant to. I have a few recommendations to make it…
What you risk when using Number() to parse an integer from a string in TypeScript Using Number constructor function to parse a number from an input in TypeScript entails a couple of risks. It’s better to be aware of them.
Making ImmutableJS work with the advantages of TypeScript ImmutableJS is a great library. It even has TypeScript support. But, with it, there’s no more static type checking. Let’s get it fixed ASAP…