3 ms·
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 wor
by yamtaddle 4y 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.
- Tainnor 4y agoI agree that FP languages sometimes exaggerate with the opeators (I think introducing new operators has its uses but the learning curve has to be traded off against the supposed benefits), but... 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.
- anon291 4y agoLens is not an introductory topic in any Haskell tutorial I know. And Perl is not line noise. It's a very nice language.