Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maleldil
49 days ago
|
parent
|
context
|
favorite
| on:
John Carmack on mutable variables
This is only for redefinitions that change the type. If you re-assign with the same type, there's no warning. However, pylint does issue warnings for other interesting cases, such as redefining function arguments and variables from an outer scope.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: