Hacker News new | ask | show | jobs
by pmarreck 3186 days ago
One only needs to look at RosettaCode for numerous examples

http://rosettacode.org/wiki/Horner%27s_rule_for_polynomial_e...

1 comments

Oh come on. First, 20 vs 4 lines, which is 20%. Second, not exactly the most compact C++ version. You can easily make one in 10 lines even in a clean C style. Third, these code-golf comparisons are beyond silly.
20% is still impressive and not atypical in my experience from coding in mutable/OO vs. functional languages

I wonder what Rust would look like here