2 ms·
When you're writing a simple, generic function, naming your arguments can easily feels like pointless (heh) ceremony that just obscures rather than clarifying.
by lmm 10y ago
When you're writing a simple, generic function, naming your arguments can easily feels like pointless (heh) ceremony that just obscures rather than clarifying.
def foo(whatever: Int) = quxxl(bar(whatever))
val foo = bar andThen quxxl
Naming "whatever" just gets in the way of making it clear what foo actually does.