4 ms·
No, I'm not shocked either. Mathematicians and scientists have no formal training in programming (at least in the UK). They're expected just to pick it up and
by tome 17y ago
No, I'm not shocked either. Mathematicians and scientists have no formal training in programming (at least in the UK). They're expected just to pick it up and get on with it.
They don't generally put in the necessary hours like the "self taught programmer" does, because they're generally not interested in programming itself. It's just a calculational annoyance that gets in the way.
- Silhouette 17y ago> Mathematicians and scientists have no formal training in programming (at least in the UK). They're expected just to pick it up and get on with it. That's an unreasonable generalisation. For one thing, many university courses in science and mathematics do seem to incorporate basic programming training these days, either as part of the course, or via other facilities that the university makes available to those taking such courses. Any programming skills acquired may or may not contribute directly to the grade of degree awarded, but that is a different issue. For another thing, I can attest that some scientists do make an effort, because I have personally been paid by PhD students to tutor them in the appropriate programming techniques to implement their models soundly.
- tome 17y agoI'm talking from my experience of attending the most highly regarded mathematics undergraduate programme in the UK. There was basic programming training, but the emphasis was on the "basic". There was absolutely no emphasis placed on writing maintainable code. We (in fact "they": I didn't attend the classes) were simply taught some technical details of C. In fact I think the number of hours of teaching time was single figures. Now I can't speak for the engineers at the same university. As far as I know they were given excellent training in C++. But simply, the mathematicians did not take programming seriously, so I'm not surprised of the low quality of the implemented models.
- Silhouette 17y ago> I'm talking from my experience of attending the most highly regarded mathematics undergraduate programme in the UK. That's a bold claim. Which undergraduate programme would that be, and by whom is it the most highly regarded in the UK?
- pmjordan 17y agoI don't know which university the parent is referring to, but I can confirm that this was also the situation at the University of York, a top-10 UK university, at least at the time. (90%+ were people who hadn't quite made it into the top 2 - hence nicknames of "University of Dork" and "University of Oxford/Cambridge Rejects") The problem existed not only mathematics, where I ended up giving extra programming classes to friends because the teaching was practically non-existant. Also physics along with the computer simulation and theoretical branches of physics, which I happened to be studying. In fact, we were only taught rudimentary Fortran (!) syntax, and laughably, OpenMP and MPI later on. Nobody who made it through the course alive did so without having either learned to program earlier or investing a large amount of time in self-study and then "winging it" - after all, the final project depended on being able to deliver a simulation of whatever physical system was being investigated. I started programming when I was 10, so I had no trouble; together with a colleague who had a similar programming history as I, we introduced the rest of our year to basic good programming practices and workflows (split your functionality into stand-alone functions and files; use version control; avoid global variables; the merits of code reviews; etc.). A lot of people had already switched to experimental physics before we started doing this. Obviously, expecting people to understand concurrent programming at that level is pretty dangerous. In my experience, this sort of attitude breeds a view that computer programs are magical things, and once they compile and don't crash or hang, you can trust their results. This exact attitude is what I'm reminded of when I read about this CRU incident. I don't think any of the staff ever took the issue seriously, though. Even if they weren't prepared to teach it, they should have told everyone to teach themselves over the holidays and provide exercises or whatever. At no point did anyone point out that programming was a difficult craft, and that mastery of it would be expected. For context to those unfamiliar with the majority of UK science degree programmes: they are typically not as modular or flexible as in other countries. If you failed a module, you had one chance to re-sit the exam a few weeks later. There was no option of re-taking the module including lectures during the next term/semester; each term had a pre-assigned set of modules, there was no flexibility in when they could be taken, so you couldn't defer your concurrency project until you'd taken some more programming classes or so.
- jamii 17y agoDuring my maths BA I took: Foundation of computer science Data structures and algorithms (SML) Software engineering (Java) Operating systems (C) Numerical algorithms (C++) as well as yearly catam projects: http://www.maths.cam.ac.uk/undergrad/catam/ http://www.maths.cam.ac.uk/undergrad/catam/ There were also optional classes in bioinformatics and computational statistics and a number of lecturers encouraged the use of programming in solving weekly problem sheets. I would estimate at least a third of my year-group were fairly competent programmers come graduation.
- tome 17y agoI don't know when you took it, but that's not possible today unless you do the Mathematics with Computer Science option, which most Maths undergraduates do not, and certainly not the ones who are more into the applied side of things and are likely to end up in climate research.
- jamii 17y agoThat's unfortunate. Given the nature of modern applied maths it seems like that should be the preferred route.
- tome 17y agoQuite right. Understandably the applied maths department wants to give a rigorous theoretical training, but rigorous programming training ought to be given at some point before research starts.
- Silhouette 17y agoSo you meant Cambridge as "the most highly regarded mathematics undergraduate programme in the UK"? I was afraid of that. Cambridge's mathematics research may be world class, but their teaching of undergraduates is very poor. It helps if you're an undergraduate at one of the more mathematically inclined colleges, of which Trinity is traditionally the strongest. Even then, there is only so much that small group supervisions or example classes can make up for if the basic syllabus and presentation in lectures is poor. Sadly, both the Mathematics with Computer Science tripos option and the Diploma in Computer Science conversion course have been dropped recently, removing two genuinely useful choices. As far as I can tell, this leaves only the well-intentioned but usually poorly realised CATAM projects as the main source of computational mathematics background for students, and the criticisms of insufficient training in real programming skills are entirely justified there. There is a new MPhil course running from this year in the Computer Lab, but this is more like Part III CompSci than the old Diploma. (Some of these comments are based on my own experiences studying at Cambridge in the '90s, though my general view is more coloured by the many graduates from Cambridge and elsewhere with whom I have worked since that time.)
- jfischer 17y agoBeyond training in programming, scientists creating production code need training in software engineering. The folks over at Software Carpentry (http://software-carpentry.org/ http://software-carpentry.org/) seem to have the right idea. Just as important, like other forms of scientific experimentation, work based on computer analysis needs to be independently reproducable. A big part of that is to make the source code and data available to other researchers (ideally, to the public at large) and well-documented. It seems like the CRU people failed in both areas.