I started learning Ruby and it looks really awesome! For instance, I’ve just written a code that produces Fibonacci numbers:
1 2 3 4 |
a,b = 1,1 (3..n).each do a,b = b,a+b end |
It is the most elegant solution I’ve ever seen!
ASP. NET, Javascript, Flash, Flex
I started learning Ruby and it looks really awesome! For instance, I’ve just written a code that produces Fibonacci numbers:
1 2 3 4 |
a,b = 1,1 (3..n).each do a,b = b,a+b end |
It is the most elegant solution I’ve ever seen!