So, the professor gives you the knowledge to fully leverage it and take it in any direction.
Your friend gives you a single option that might help.
The Indian guy presents a straightforward path to a solution you might not want?
It's not really good to compare the different situations of information sharing, because they have different goals. The professor isn't needlessly complicating it, they are giving you fundamentals to build on.