|
|
|
|
|
by leibnizwasright
2975 days ago
|
|
I agree with you, it is important to let the person fail and learn. But sometimes, this can be costly and fixing it may be hard. My approach is to ask the person question and understand what is the objective trying to be achieved, and hope with the answers given, the person realize it is doing a mistake. I also hope that the person respect my experience and is able to learn from my mistakes and do not need to do the same mistakes in order to learn. But I do not always succeeds in these endeavors. Once a colleague was developing some page objects for Selenium tests and creating classes with only one attribute, which was the full URL of the page. Of course tests would not word when executed in several environments and to have this files were useless. But to fix exactly this, I saw it required more knowledge on OO design than a simple talk could give. |
|
If that's not the case, and once someone recognizes what it is that you're doing, they may become rightly offended at the arrogance you're displaying by choosing the teacher role for yourself.