Dev tip: Avoid the same variable name in notebook
In practical, it is easy and convenient to keep some variable name same. Some specific names are used all the same. But this will bring some trouble later when you debug or rerun some cell. The variables are confused and display the latest value. It is annoying. So for a safe use, it is better to use different name for variable names, even some waterfall style processing.
Comments
Post a Comment