Transcription: There are legitimate reasons for creating friends. Unfortunately, there can also be a temptation to use friend functions to work around design limitations in a class or set of classes. For example, friends can break the rules of data hiding and strict typing. You should make sure that including friend functions is appropriate for the public interface of your classes and that declaring friend classes is consistent with the intended relationship between your classes. is.