3 ms·
> Automatic currying is dangerous Why?
by Sean1708 9y ago
> Automatic currying is dangerous
Why?
- tpxl 9y agoYou can accidentally leave out a parameter and end up with a function instead of the result.
- hood_syntax 9y agoThat's an issue when there's no type checking, but a lot of languages with currying by default have type systems
- Sean1708 9y agoAre there any dynamic languages that have automatic currying? I agree that that would be dangerous, but it's also something that I've literally never seen.
- tpxl 9y agoI don't know, but that's the first thing that popped into my mind after "this is cool". It would generally be a non-issue with good development tools.