d
r
a
w
o
h
a
r
a
@suggestions
@rss
@archive
@codeforpeople.com
@random
@radio[
:m3u
|
:pls
|
:ruby
]
@family
@neighbors
@twitter
drawohara @twatter
December 22
def fib(n, x = n == 0 ? 0 : n == 1 ? 1 : fib(n-2) + fib(n-1)) x end
Standards: Default Parameter — Dynamic Define, Recursive Call
Comments (View)
blog comments powered by
Disqus