2 ms·
I think there is a perspective that has been overlooked in these comments. It is that the "professors' unprofessional programs" are probably very understandable
by c517402 9y ago
I think there is a perspective that has been overlooked in these comments. It is that the "professors' unprofessional programs" are probably very understandable to someone who deeply understands the science/engineering concepts the programs represent. Especially, if you get some history about what was developed first and what order features were added, the spaghetti starts to become much more understandable. Of course, after passing through the hands of multiple grad students the code should probably be refactored, but how many of you recode a big framework just because it isn't perfect for your situation.
- geebee 9y agoI'm not a professor, but I started my career as an industrial engineering grad (MS, not PhD) who was writing code to build and solve a linear program for a supply chain application. It was definitely one of those programs that does this, than that, the sometimes the other thing, and it went on forever. I had trouble understanding it myself. I didn't end up rewriting it because, well, startups. The whole thing went kaput, and nah, didn't have much to do with the code. I would agree with you that these programs are more understandable to someone with expertise, and that can be why it's so hard to refactor them. It's difficult to become this expert in a branch of science and also take the time to learn good software design and programming practices. But overall, I'd say that these programs could become vastly more manageable and easier to understand through better programming practices.