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

How to handle side effects? #658

Closed
tk3369 opened this issue Nov 8, 2020 · 1 comment
Closed

How to handle side effects? #658

tk3369 opened this issue Nov 8, 2020 · 1 comment

Comments

@tk3369
Copy link

tk3369 commented Nov 8, 2020

For example, I have 3 cells:

x = [1, 2, 3]
s = sum(x)
x[1] = 4

Honestly, I don't know if this should be considered a bug or not. If it changes the second cell to 9 then it would look confusing because it appears before the third cell. But the problem is that if I re-run the second cell then it would display 9 and it's still confusing.

I'm filing this issue just to have a discussion.

@fonsp
Copy link
Owner

fonsp commented Nov 8, 2020

#564 #316

@fonsp fonsp closed this as completed Nov 8, 2020
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