|
|
|
|
|
by coldtea
4156 days ago
|
|
>I can't stand the '.' syntax. Someone that doesn't know python would have no idea if those are method calls or what. How is what someone who DOESN'T know Python would think relevant? That said, after even the smallest familiarity with the language, he sees that it's obviously not method calls unless it ends in (). Someone who doesn't know Lisp also doesn't know what (foo 4 2) or (quote foo 4 2) is. |
|
Saying that the snippet is obviously not using method calls is naive. Python is too flexible and allows programmers to do too many clever things for that, all hidden under "nice" syntax.
EDIT: Forgot a case for what that code could be doing: it could be accessing a module with globals.