2010-09-06

We can get faster fib just returning two values

How do you make fib fast?
I don't recomend using memoization because it require waste memory.
I recommend returning two values.

RSpec and Cucumber

I'm reading The RSpec Book.

I've understand:
  • RSpec should be used to describe the behavior of objects.
  • For describing the behavior of a library, Cucumber should be used.