Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

21
  • 3
    Possible duplicate of Is scientific code a different enough realm to ignore common coding standards? Commented Jul 6, 2018 at 0:58
  • 9
    You might find answer on Is it worthwhile to write unit tests for scientific research codes? useful. Commented Jul 6, 2018 at 16:34
  • 8
    If you actively want to improve your code, you might consider posting some on Code Review. The community there will gladly help you with that. Commented Jul 6, 2018 at 20:57
  • 8
    When you say "aside from using version control, and making a new file for each new iteration and recording all of it in a text file somewhere" by "and" do you mean "or" because if you're using version control you shouldn't be copy pasting versions. The point is that version control keeps all the old version for you Commented Jul 7, 2018 at 14:35
  • 2
    @mathreadler I don't think you quite understand. Yeah, only I am probably every going to actually read and mess with the code (though you never know, and I do have someone I'm working with who can program, though in a different language)...but the code is still crap. I will have to read it later and figure out again what the heck I'm doing. It is a problem, and I can testify to it because I'm experiencing the effects now, and things have become easier as I've implemented version control and other techniques suggested here. Commented Jul 8, 2018 at 3:25