On Tue, Nov 25, 2014 at 12:44 AM, Dan Sommers <d...@tombstonezero.net> wrote:
> And then, at least in C++, you see coding standards that demand that
> member variables (aka instance variables aka attributes) be named in
> such a way that you can tell that they're member variables and not local
> variables (one common convenstion is that all member variables begin
> with "m_").  IMO, that's a concession that all that implicitness and
> convenience just causes confusion.  In Python, the names of all instance
> attributes begin with "self."

Either that, or it's a concession that bureaucracy has no idea what
makes for good code. One or t'other.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to