2 ms·
Thanks for the fix! It's up on the site now.
by rahulmutt 10y ago
Thanks for the fix! It's up on the site now.
- seagreen 10y agoHave you considered replacing the example entirely? A toy program that looks good but is terribly nonperformant is exactly what I'd put up if I wanted to make a Haskell-style language look bad.
- rahulmutt 10y agoPerformance of a tiny code sample is not why people select one language over another. If that was the case, no one would be using anything besides assembly or C. Even in other languages, you'll use an abstraction heavy implementation for the benefit of long-term maintenance and code evolution and then performance optimise the bits that can pack a punch. Performance optimisation in any language looks ugly be it C or Haskell.
- codygman 10y ago> Performance of a tiny code sample is not why people select one language over another. It's not how people should choose a language, but I'd wager it plays a non-trivial part even if only from laziness alone. We have to remember we aren't marketing to perfect* developers but more to the average if an aim is mass adoption. *Perfect as in follows general programming best practices. Following best practices is not always best. Not trying to make a value judgment here.