Talk:Friend class
This is the talk page for discussing improvements to the Friend class article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||
|
Example
editPlease show example here. — Preceding unsigned comment added by 192.203.57.28 (talk) 07:52, 3 June 2011 (UTC)
Rationale
editI 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)
- 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)
India Education Program course assignment
editThis 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)