Conversation

Why does Python do the nonsense "x if <b> else y" instead of something for normal languages like letting you assign to the result of a normal if/else statement
19
145
i think currying is actually maybe overrated and the ideal world would have other nice ways to partially apply in general, since currying means you have to make one particular partial application privileged over all others
1
6
Currying is cool, but I have a love/hate relationship with it as it is so… positional I guess? I love good support for named arguments and default parameters… but I also love the simplicity of currying and how it makes stuff succinct and nice! I am conflicted! 😳
1