This is asking for opinions and experiences about
- whether it is to be avoided (for serious reasons that I cannot think of) to redefine, within one and the same tikzpicture, node-names several time.
Small example
\begin{tikzpicture}
\node (a) at (0,0) []{};
(..... code, possibly using the name (a)...... )
\node (a) at (0,1) []{};
(..... code, possibly using the name (a)...... )
\end{tikzpicture}
I have worked with this for some time now, in some tikzpictures, without ever noticing problems (that would be clearly attributable to this).
The reason for doing so in the first place is--in applications where one does not need meaningful names---not have to think about how to name a node. (If there is another solution to that problem, I would be interested to read about it, but I cannot imagine one; after all, the text naming the node must be entered into the tex file)
If the result is the illustration one intends to, and since the "name space" seems to be strictly "local" and confined to the \begin{tikzpicture} ... \end{tikzpicture} scope, I cannot find anything seriously wrong with such a programming practice.
Nevertheless I am are curious whether there is something dangerous about this that I did not think of. I know that, needless to say, absence of danger can never be guaranteed.

pic. Otherwise, I pick a new name. There are some cases in which you must use unique names, however, so you should be sure you are not in one of those! – cfr Jul 03 '17 at 23:21pics use only unique names for coordinates and nodes? That seems admirable, but is generally quite unnecessary. Or imagine a macro in which you want to use a point twice, but you don't need to refer to that point outside the macro. Of course, you can ensure they're unique, but I don't think even best practice requires it. – cfr Jul 03 '17 at 23:26picor macros), then repeating names probably is not problematic (and there is no any obstacles to do this), but this require somehow specific way of drawings. In cases of longer picture code, is -- to my opinion of course -- more convenient ans safe to use unique nodes names. With this, for example, after while, you can easier oriented in it. Well, I speak from my experiences ... – Zarko Jul 03 '17 at 23:45\tmpin macros, why should we not use\node (tmp)intikzpictures? – Raoul Kessels Jul 04 '17 at 20:59