Ruby Newbie wrote: > Peter Hickman wrote: > >> Ruby Newbie wrote: >> >>> I have the following assignment to be done.I have written the recursive >>> API >>> >> Whats a "recursive API"? You are talking nonsense here. All you have >> done is write a recursive version and an iterative version of a >> function. An API is something entirely different. >> >> The first thing you need to do is time your code and prove that one is >> faster than the other, on my system they are practically identical. >> > > First of all its not function its a method in ruby terms. If you care > too much about terminology better get it rite yourself first > Well at least you know that much, that does not however excuse the technobabble of "recursive API". And as for "rite", well you put me in my place there I can tell you. How about providing the timings or are you just going to sulk.