"... but the damage from over a decade of amateur hobby programming is so extensive that ..."
The majority of research software in academia is just like this.
State-of-the-art in terms of both research approaches and existing modelling solutions and tools in the context of Model-Based Continuous Development megamart2-ecsel.eu/foundatio…