I tend to favour explicit numbers of arguments in functions: I rarely find auto-currying a useful default. Explicit arity gives good errors!
I've realised that auto-currying allows you to handle generic functions though. `a -> b` can be any function!
miniblog.
Related Posts
I really like base-2 prefixes in writing, e.g. 1 KiB, 2 MiB, 3 GiB and so on. It's way more explicit.
However, SI units are k M G and so on. Switching between lowercase k and uppercase Ki keeps tripping me up.
I admire that Chromebooks have an explicit date when they stop receiving security updates. Many devices aren't so clear, so we can't have useful discussions like this:
"It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures." — Alan Perlis
I'm still not sure I agree with this: explicit data types are often nice. Following this maxim leads to pervasive lists or hash maps.
