Totally agree, as someone that's jumped back and forth between software engineering & data science. Data science programming already brings out my worst habits - mixing business logic everywhere, using libraries with odd APIs (pandas, matplotlib) => trawling Stackoverflow for code snippets without really understanding them, ugly performance optimizations.
Add poor version control practices and the dawning realization that you don't know whether your code ever worked or just seemed to work because some variable was in scope that shouldn't have been, and it quickly becomes chaos.