Y
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
laserlight
1066 days ago
Strong agree. To clarify, I wouldn't shadow. I wouldn't use “inp” either.
link
ali_m
1066 days ago
One fairly common convention is to suffix with `_` to avoid shadowing, e.g. `input_`
link