Skip to main content
edited tags
Link
Kuba
  • 137.7k
  • 13
  • 289
  • 751
edited tags
Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k
Tweeted twitter.com/StackMma/status/725516164550541316
added 14 characters in body
Source Link
Karsten7
  • 27.6k
  • 5
  • 74
  • 135

I have been using MathematicaMathematica for about 2 years and I'm pretty ok to write and optimize my code. Wanting to improve my practice, I often look at code examples. However, I can not determine if there is a "good way to do" with the use of functions Clear, ClearAll and other related functions (as Remove). I note that several people clear all at the beginning of each code, while other clear only the variables. So what would be a good practice?

I have been using Mathematica for about 2 years and I'm pretty ok to write and optimize my code. Wanting to improve my practice, I often look at code examples. However, I can not determine if there is a "good way to do" with the use of functions Clear, ClearAll and other related functions. I note that several people clear all at the beginning of each code, while other clear only the variables. So what would be a good practice?

I have been using Mathematica for about 2 years and I'm pretty ok to write and optimize my code. Wanting to improve my practice, I often look at code examples. However, I can not determine if there is a "good way to do" with the use of functions Clear, ClearAll and other related functions (as Remove). I note that several people clear all at the beginning of each code, while other clear only the variables. So what would be a good practice?

Fixed grammar
Source Link
physicien
  • 407
  • 1
  • 4
  • 15
Loading
Source Link
physicien
  • 407
  • 1
  • 4
  • 15
Loading