re: Creating a typed "compose" function in TypeScript VIEW POST

re: Thank you for this article. But I feel like the more I practice and read about Typescript the more it seems better for OOP programming rather tha...

I don't agree here. The reason I wrote about these is precisely because they're edge cases. There's no reason that FP should be any harder than OOP in TypeScript. If you're happy with Flow, in 99% of cases the TypeScript syntax is basically identical. The main difference you'll see is just better tooling and more typings available.


Agreeing is not important, but sharing thoughts is what make us evolve.

Thank you for taking time replying 🙏

code of conduct - report abuse