You are right.  It's OK sometimes to use it as a local, but things can get confusing if it is used in a library