My question is simple, how should I comment during development so that it can be beneficial in the following cases:Understandable for my seniors while code reviewing.Should be able to search my work after sometime.Can be made in pseudo code form.Should be able to help juniors or other developers when they work on it.Any real world examples will highly be appreciated.PS: I am not debating whether we should write comments or not.
Best possible way to comment?
source code;comments