[swift-evolution] Requiring self. to access properties and methods
jj at johanjensen.dk
Mon Dec 7 12:47:38 CST 2015
It has already been brought up in the (multiple) mail chains named "Proposal:
Re-instate mandatory self for accessing instance properties and functions
You can find more threads and replies to that discussion at
On Mon, Dec 7, 2015 at 6:21 PM, Florian Reinhart via swift-evolution <
swift-evolution at swift.org> wrote:
> Hi all,
> I prefer prefixing property (and method) access with self. in my code.
> This makes it immediately obvious if a variable is local to the function or
> actually a property of the instance.
> I assume this has already been discussed and would like to know why it was
> decided to not require self for property and method access.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution