Saturday, January 26, 2008

Python and productivity

Python increases productivity unimaginable. Even though you've never had written any code with it, you can understand its very nice syntax. Consider this:

def fibonacci(n) :
if n==0 or n==1 :
return 1
else :
return fibonacci(n-1) + fibonacci(n-2)


Like common speaking huh? seems pseudo code ! Now imagine you have decided to implement an algorithm (a very hard and comprehensive one) with python. Believe me,It takes 30 min in max :)

No comments: