I was talking about scientists who switched from science to
writing software as a product for whatever reason. They surely produce good docs (properly documenting their work is the very basis of being scientist).
As for writing imperative code in C/C++/Whatever other language they seem to choose: nothing is wrong with that.