[swift-evolution] Proposal: Re-instate mandatory self for accessing instance properties and functions
David Hart
david at hartbit.com
Mon Dec 14 15:37:45 CST 2015
>
> We are fortunate because the Python mailing list debated this exact
> issue in 2006 (albeit, in the reverse direction). I’ll quote from
> https://www.python.org/dev/peps/pep-3099/ (“Things that will Not
> Change in Python 3000”):
>
>> Having self be explicit is a good thing . It makes the code clear by removing ambiguity about how a variable resolves. It also makes the difference between functions and methods small.
That’s very interesting.
More information about the swift-evolution
mailing list