This link looks very practical and "hands in the dirty". But in the example of Python code for node discovery and connections, it often gives warning about the fact it is of "educational purposes" and not real world.
Could you please explain what the caveats of the implementation showed in the link are, and how to correct them in the real world:
Example of such limitations highlighted:
Is the limitation about the fact that "except Exception" excepts nearly everything and that is not a good practice? Would putting a security (like don't call recursively indefinitely) be a solution?