So a pretty big thread has busted open on the Apple Developer Forums on “Why use instance variables if you have properties?”
I thought the answer to this was pretty simple: if you rely on synthesized private instance variables, you can’t see their values when debugging! So as far as I understand, if you do synthesize properties, you had better have instance variables if you ever want to see them in the debugger.
The length and flamey-ness of the thread leads me to believe this isn’t a big enough deal. Am I missing something?
Filed under: programming | 2 Comments