Re:Clarity over brevity in variable and method names
by MBlume on Monday September 10, 2012 @04:00PM
(#4501895)
Haskellers don't so much want to keep the variable names terse as avoid naming the variable at all.
[ Parent
| on HN ]
Re:Clarity over brevity in variable and method names
by wtetzner on Monday September 10, 2012 @04:16PM
(#4501989)
While 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.
Re:Clarity over brevity in variable and method names
by Evbn on Monday September 10, 2012 @10:55PM
(#4503520)
Haskell 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.