Referring to the section in the Chapter on the ‘self’ variable…
“For example, many Objective-C programmers are quite religious about accessor methods; they never read or write to an instance variable except using its accessor methods”.
Then the reader is asked to revise the bodyMassIndex method to ‘please those purists’.
I don’t understand the advantage or appeal of writing the bodyMassIndex implementation that way (i.e. with the ‘self’ variables).
Seems like extra code.