Proc:
- It is much more clear by using
this
to refer members. - The parameters in member function can have the same name as the data members if we use
this
pointer to refer data members.
Cons:
- The code will look redundant.
Proc:
this
to refer members.this
pointer to refer data members.Cons: