4 ms·
This is pretty cool but I notice the default R fibonacci code is like comically non-idiomatic (or poorly linted, even). Since I suspect the cause here is copy-
by notafraudster 6y ago
This is pretty cool but I notice the default R fibonacci code is like comically non-idiomatic (or poorly linted, even).
Since I suspect the cause here is copy-pasting off of an algorithms/code gallery, my guess is that there are examples across other languages. I checked everything I feel idiomatically comfortable enough and the others all seemed fine, but there are a lot of options here so who knows.
- dwwoelfel 6y agoIf you have a good recursive version of Fibonacci for R, I'd love to swap it out for what I currently have. For the languages I don't know, I looked at the code people posted on rosettacode.org
- deleted 6y ago[deleted]