[swift-evolution] Requiring self. to access properties and methods
Florian Reinhart
florian at bottledsoftware.de
Mon Dec 7 11:21:14 CST 2015
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.
—Florian
More information about the swift-evolution
mailing list