secondplanet
Member since Apr 19, 2011
- Profile: /members/8191-secondplanet.htm
- URL: https://github.com/secondplanet
- Comments: 1
Recent Blog Comments By secondplanet
-
Seven Languages In Seven Weeks: Io - Day 2
Posted on Apr 19, 2011 at 6:51 PM
This was an interesting approach. I preferred doing the fibonacci numbers using lists: fib := method(nth, nth = nth - 1; numbers := list(1, 1) if(nth < 0, 0, while(numbers size <= nth, numbers append(list(numbers last, numbers at(-2)) sum)); numbers last) )... read more »