Hacker News new | ask | show | jobs
by ilc 1067 days ago
Don't shadow. Just don't. We've got enough variable names in the universe. :)
1 comments

Strong agree. To clarify, I wouldn't shadow. I wouldn't use “inp” either.
One fairly common convention is to suffix with `_` to avoid shadowing, e.g. `input_`