My prof is all against friend functions, He claims they break encapsulation and make code hard to debug.
He suggests using accessor functions to manipulate the class.
I am refering to overloading << and >> mainly.
He made a good argument and it has made me rethink my method of overloading the ostream operators.