As a chemical engineer, I can confirm our coding is very messy lol. You can't really go to school for 6+ years for your profession, then go back for a degree in an entire new field of study.Code written by scientists is always a mess, that's just how it is. It doesn't necessarily correlate with the quality of the research. A Ph. D. doesn't automatically give 10 years of software development experience.
I am kind of confused, can you sum it up for me why people are complaining about the coding language to begin with? Did they not get a software engineer involved in the development?