Geeks With Blogs
Adventures of a Setup Developer my musings about setups and other things in my life September 2005 Entries
Ruby/Rake and Python Decorators
I had been experimenting with Ruby/Rake. I took a little while for me to get adjusted to Ruby's syntax. I love closures in Ruby and their effective use in Rake. I was trying if I could do the same in Python. As always, I came up with a very shabby code as the first attempt. #run the global dict to store targetstargets={} #defining and adding a target class Target: def __init__(self,name='',depen... self.dependencies=dependencies self.fn=fn self.done=False ......

Posted On Thursday, September 1, 2005 12:40 PM

Copyright © Vagmi Mudumbai | Powered by: