[OT] New to Python: Features
Richard Blackwood
richardblackwood at cloudthunder.com
Tue Oct 5 11:15:42 EDT 2004
Eugeni Doljenko wrote:
>>> You're kidding, right. Right ? Without brackets ? That's... that's just
>>> not possible is it ?
>>
>> In certain languages it is. I think Lua lets you do it but more
>> certainly I know Ruby does.
>
> I'd love language that will let me call functions with square
> brackets. square brackets are so sweet.
>
> seriously, Ruby is syntactical madness.
>
>
I'm not preaching Ruby or madness. But Ruby does let you go without the
parenthesis when calling a function as long as the argument is a string
I think is the rule. Ruby isn't quite so pretty as Python I would agree.
More information about the Python-list
mailing list