|
|
|
|
|
by yamtaddle
1293 days ago
|
|
I don't understand why Perl is consistently dismissed as "line noise" and "write-only" but that characterization's rarely leveled against Haskell. It's much worse about it, IMO. At least the "line noise" variety of Perl doesn't usually dominate basic tutorials and introductions to the language. [EDIT] Nor do Perl libraries tend to contribute to or encourage line-noise style. |
|
Perl is IMHO worse because it relies much more on global mutable context. For example, the diamond operator <> behaves differently depending on whether the magic global variable @ARGV is set.
By contrast, Haskell is typed and purely expression based, so that at least in principle you can pull apart expressions, examine them (and test them!) individually and then understand how they combine.