Comment #42 on issue 1757 by ronan.l...@gmail.com: coding style
http://code.google.com/p/sympy/issues/detail?id=1757

I disagree with 1) because in many cases it's more natural to not use self.

I really don't think there are "many cases". I agree it's debatable for some special methods like '__add__' but using something like "def __add__(a, b):" masks the syntactic dissymetry between the arguments in a case where it's particularly important to be aware of it due to the mismatch with the semantic symmetry between the arguments.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to