When I go thru the code written by collegue, in certain place, they use:
this->doSomething(); //-->case A
doSomething(); //-->case B
In fact I'm not sure about the great usage of *this pointer...:(
Another question with argument matching:
obj.doOperation(); //-->case C
(&obj)->doOperation(); //-->case D
In fact both cases are performing the desired operation, is it simply a way to make the code look more complex?
What is your recommendation on the above two question? When is the appropriate time to use them and why?