3 ms·
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. T
by jstimpfle 9y ago
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.
- 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