Comment

Comment by mattsan

I'm questioning this advantage:

> Improved type safety: Currying can help improve type safety by ensuring that each curried function takes exactly one argument of the correct type. This can help catch errors at compile time and make your code more robust.

Why would non-curried functions have worse type safety?

parent mattsan 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton