I’m slowly progressing in programming as an old man, I realize that I often have variables lying around so I’ll try to make it a habit to delete them after use,
what do you advise me to use, is it better to set it to 0 or undefined (because 0 is still defined)
or maybe some links to help me avoid programming traps
I usually Rem redundant code. If I feel in a ‘tidying up / squeaky clean mood’ I delete.
However, it can be useful to leave redundant code rem’d out as a reminder of what you tried … else you may waste your tme trying it again in the future??