Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Jul 16, 2011

Recent Blog Comments By nate

  • Seven Languages In Seven Weeks: Io - Day 2

    Posted on Jul 16, 2011 at 12:19 AM

    Using the list method (as suggested by secondplanet), when you set numbers to (1,1) your sequence is off by one place. For example, fib(2) returns 2, not 1. Here's a suggestion: fib := method (nth_place, numbers := list(0,1) while(numbers size <= nth_place, numbers append(numbers at(-1) + n... read more »