Jump to content

Talk:Friend class

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Example

[edit]

Please show example here. — Preceding unsigned comment added by 192.203.57.28 (talk) 07:52, 3 June 2011 (UTC)[reply]

Rationale

[edit]

I take issue with the rationale example because friendship breaks encapsulation (and worse encapsulation typically lends itself to tighter coupling). I think a better example and a more thorough analysis in the rationale would help. — Preceding unsigned comment added by 70.62.20.222 (talk) 16:14, 24 August 2015 (UTC)[reply]

Friendship doesn't break encapsulation. As mentioned, it can actually increase encapsulation where members would otherwise have to be public. And the article already mentions that friendship leads to tighter coupling (though perhaps not in the way you are thinking). Please give an example of what you are thinking of so that the article may be improved. Hpesoj00 (talk) 18:12, 3 August 2016 (UTC)[reply]

India Education Program course assignment

[edit]

This article was the subject of an educational assignment at College Of Engineering Pune supported by Wikipedia Ambassadors through the India Education Program during the 2011 Q3 term. Further details are available on the course page.

The above message was substituted from {{IEP assignment}} by PrimeBOT (talk) on 20:13, 1 February 2023 (UTC)[reply]