5 ms·
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 a
by muhamm 17y ago
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.
- palish 17y agoI 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.
- muhamm 17y agoTo 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.
- jjs 17y agoReally, if you're not passing functions more often than you call them, you're missing out. :)