Why use self


i will keep it short…

in the initializer, why must i write

instead of


You could write both, either one is okay (some people will say never to use one or the other, but there’s no reason for that kind of dogma on this topic). In this particular case, we use the setters as to introduce the concept of self and not confuse the reason with another way of accessing the same information.