You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other side effects can wait but it's a valuable low hanging fruit.
We should backup the local environment into bkp0, run original code save env into bkp1, save value in val1, restore bkp0, run refactored code, compare env with bkp1 and value with val1.
No about the name I wonder if we shouldn't name this one refactor and our current refactor would be refactor_value,
refactor would go on to incorporate more control on side effects.
The text was updated successfully, but these errors were encountered:
An issue is that refactored might not create unnecessary temp vars and it's a good thing so how do we deal with this ?
It's nice that our function Is a binary opt, but yet it seems we need parameters
We might touch the original code to drop variables, in fact our error might say "The refactored code didn't create variables : foo, bar. If it is desired you should add : rm(foo, bar) at the end of your original code", so it's easy to coy and paste it.
In fact if variables exist on both sides but with different values we might have this type of error too, since they might be temp vars.
Other side effects can wait but it's a valuable low hanging fruit.
We should backup the local environment into bkp0, run original code save env into bkp1, save value in val1, restore bkp0, run refactored code, compare env with bkp1 and value with val1.
No about the name I wonder if we shouldn't name this one refactor and our current refactor would be refactor_value,
refactor would go on to incorporate more control on side effects.
The text was updated successfully, but these errors were encountered: