About Encapsulation
Which of the following are the benefits of encapsulation?A Reusability of codeB Code clarityC Faster executionD Less dependency on other classesI suggest A and D. But B seems to be right too... What are your opinions?
[259 byte] By [
blutch009a] at [2007-11-27 6:51:56]

I would have chosen maybe B.
Why?
Encapsulation ensures that no other classes can have access to your variables, which is why you usually want them declared private.
Why Maybe?
Well, I'm gonna be honest with you. I'm 17 years old and I honestly don't know what the word "clarity" means. I just looked it up and got:
clar穒穞y
1.clearness or lucidity as to perception or understanding; freedom from indistinctness or ambiguity.
So it seems right now.
> Well, I'm gonna be honest with you. I'm 17 years old and I honestly don't know what the word "clarity" means.Don't feel bad. A couple weeks ago, I used "boustrophedon" in these forumsand several people didn't know that word either ;-)
> Don't feel bad. A couple weeks ago, I used> "boustrophedon" in these forums> and several people didn't know that word either ;-)Another obscure reference causes me another thirty minute wikipedia runaway link diversion. Thanks a lot, Hippolyte ;).
One more diversion, since it's Friday. The basic taste sensors on your tongue register sweet, sour, salty and bitter, right? What about umami? http://en.wikipedia.org/wiki/Umami