Good researcher and good coder is definitely not always the same (not specifically talking about Mr Gerhards - but this code is UURGH. Redis also has modules).
Most of the research code I've seen if definitely not clean code. And needn't be. (Version Control ? what's that ?)
Rainer Gerhards is a researcher who has published in peer-reviewed journals [1].
Can we please end this "people who write code in a style I don't prefer are idiots" meme?
[1]: https://www.researchgate.net/profile/Rainer_Gerhards