Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read-only isn't via pre or post increment or decrement #727

Open
lgto4 opened this issue Apr 1, 2020 · 1 comment
Open

read-only isn't via pre or post increment or decrement #727

lgto4 opened this issue Apr 1, 2020 · 1 comment

Comments

@lgto4
Copy link

lgto4 commented Apr 1, 2020

See ``https://www.khanacademy.org/computer-programming/when-read-only-isnt/6730568245067776 . It destroys the values of KA protected variables by pre or post incrementing or decrementing them.

@pamelafox
Copy link
Collaborator

Thanks for the report Bob! I'm not surprised that some new programmers attempt to decrement/increment them, given all the other creative ways they try to write programs. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants