> Sadly now I'm moving into the data science/data engineering field and everything is Python and I don't know. I don't want to go back to this nightmare.
Now there are (optional) type annotations and mypy [0]. I've been using them in my latest projects and I found them useful/helpful.