Search:

Type: Posts; User: mstabosz

Search: Search took 0.07 seconds.

  1. Re: So I'm not sure I really get the idea behind private data members vis a vis getters and setters.

    Right. Duh. Thanks Junky. I didn't occur to me that getters and setters don't HAVE to be just the one line. Seems obvious now.
  2. So I'm not sure I really get the idea behind private data members vis a vis getters and setters.

    I mean, okay, sometimes there's stuff you want in your class that is strictly for internal use only. Make that private, because you don't want any other class to touch it. Cool.

    But then...
Results 1 to 2 of 2