Today we learned how to hide internal variables set restrictions on what the value of an instance variable could be.
It's happening again, I now have an uncontrollable urge to back through all my code and privatize variables and such. I've kept different drafts of the programs I've written and it's really rewarding to go through them to see how they've evolved. It really does feel like I'm learning and improving my work.
No comments:
Post a Comment