3 ms·
> 5% as many lines as C++ Dude, you need a reality check.
by jstimpfle 9y ago
> 5% as many lines as C++
Dude, you need a reality check.
- hellofunk 9y agoWhy is that?
- pmarreck 9y agoOne only needs to look at RosettaCode for numerous examples http://rosettacode.org/wiki/Horner%27s_rule_for_polynomial_evaluation#C.2B.2B http://rosettacode.org/wiki/Horner%27s_rule_for_polynomial_e...
- jstimpfle 9y agoOh 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.
- pmarreck 9y ago20% 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