2 ms·
split your functionality into stand-alone functions and files; use version control; avoid global variables; the merits of code reviews Yes, these are exactly t
by tome 17y ago
split your functionality into stand-alone functions and files; use version control; avoid global variables; the merits of code reviews
Yes, these are exactly the kinds of things I'm talking about that I have not seen taught in undergraduate mathematics programmes, but they are vital to writing good quality scientific code.
At no point did anyone point out that programming was a difficult craft, and that mastery of it would be expected
Not only difficult, but even experienced programmers introduce serious bugs by accident. Often they find them because they do extensive testing! This is not done to such a degree for scientific code.