Y
Hacker News
new
|
ask
|
show
|
jobs
by
jstimpfle
3186 days 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.
1 comments
pmarreck
3183 days ago
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
link
I wonder what Rust would look like here