4 ms·
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 anyo
by pervycreeper 12y ago
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.
- dkersten 12y agoWhat 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.