3 ms·
> there are really smart people in the camp of long variable names, and there are really smart people in the camp of terse variable names. Like the Scheme and
by wtetzner 14y ago
> there are really smart people in the camp of long variable names, and there are really smart people in the camp of terse variable names.
Like the Scheme and Haskell communities, respectively.
- MBlume 14y agoHaskellers don't so much want to keep the variable names terse as avoid naming the variable at all.
- wtetzner 14y agoWhile that's true, there's a tendency to use short names in pattern matching, since using long names actually makes it harder to read the pattern.
- Evbn 14y agoHaskell code names all identifiers except unused ones place held with '_'. (Unlike perl, which has the day default $_ often in scope) Haskellers completely avoid introducting entities (like function arguments) where they aren't needed.