Re:Tell HN: Your april 1st link is not really funny...
by muhamm on Tuesday March 31, 2009 @11:15PM
(#541291)
Sure. But is that Python? You know in Ruby you wouldn't need the parens? It would work nicely for the sleep and dont_care methods since you're not passing any arguments.
[ Parent
| on HN ]
Re:Tell HN: Your april 1st link is not really funny...
by palish on Tuesday March 31, 2009 @11:16PM
(#541292)
I personally like the visual distinction between properties and methods. But it's purely a stylistic choice.
Having an implicit "self" parameter for functions defined within "class Foo:" would be nice though.
Re:Tell HN: Your april 1st link is not really funny...
by muhamm on Tuesday March 31, 2009 @11:27PM
(#541303)
To be honest, at first I also didn't like the lack of visual distinction between properties and methods but now I just like the fact that I don't have to type the extra characters. The implicit self is nice too.