News for hackers. Stuff that matters.
Re:Interesting features from various modern programming lang... by Sean1708 on Friday November 10, 2017 @07:41AM (#15669460)
> Automatic currying is dangerous

Why?

Re:Interesting features from various modern programming lang... by tpxl on Friday November 10, 2017 @08:36AM (#15669753)
You can accidentally leave out a parameter and end up with a function instead of the result.
Re:Interesting features from various modern programming lang... by hood_syntax on Friday November 10, 2017 @09:21AM (#15670002)
That's an issue when there's no type checking, but a lot of languages with currying by default have type systems
Re:Interesting features from various modern programming lang... by Sean1708 on Friday November 10, 2017 @09:28AM (#15670052)
Are 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.
Re:Interesting features from various modern programming lang... by tpxl on Monday November 13, 2017 @03:14AM (#15685036)
I 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.