Re:The New Haskell.org
by pervycreeper on Sunday February 15, 2015 @08:45AM
(#9052581)
If the point is to show the power and elegance of the language, why would they complicate the expression with optimizations? The sqrt example is obvious to anyone who understands that line anyway.
[ Parent
| on HN ]
What is the point of demonstrating the power an elegance with an example that will (hopefully!) never appear in any real world code? Better to show how the language is still powerful and elegant when taking into account the edge cases and common optimizations.
Writing elegant non-real-world code is much easier (in any language!) than writing real code.