the annoying, verbose self
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Thu Nov 22 18:46:49 EST 2007
Paul Boddie a écrit :
> On 22 Nov, 20:24, Ayaz Ahmed Khan <a... at dev.null> wrote:
>
>>I've never really understood why some people find that annoying to do. I
>>make it a point to use, for example, the `this` operator when writing C++
>>code to avoid implicilty calling/accessing attributes of objects as much
>>as possible.
>
>
> Precisely. One wonders whether the people complaining so vehemently
> about self have ever encountered coding style guides.
Like the one mandating to prefix "member variables" with 'm_' ?-)
More information about the Python-list
mailing list