News for hackers. Stuff that matters.
Re:Computer History Museum 2018 Fellow: Guido van Rossum by dom96 on Thursday February 22, 2018 @08:30AM (#16437380)
Where did you find the Nim example? It's by far the strangest fibonacci implementation I have seen (and I am a Nim developer).

Anyway, I translated the Go example to Nim for a better comparison:

    proc fib(a: int): int =
      if a < 2:
        return a
      return fib(a - 1) + fib(a - 2)

There are no comments on this comment yet.