On Wednesday, December 2, 2015 at 11:33:52 AM UTC-5, Forrest Curo wrote:
>
> and 'object.method' as 'object[:method]()'
>

In Python, you still have to do object.method() if you want to *call* the 
method --- object.method returns the callable method object, not the result 
of calling the method.   
(https://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%E2%80%94-forgetting-parentheses/)

The correct analogue of object.method in Julia is object[:method], and the 
analogue of object.method() is object[:method]()

Reply via email to