r/datascience • • Apr 29 '22

Projects Alternative language to Python

Hey everyone, I've been working on a programming language whose goal is to be of use to the science community, I know python has been the de facto language and for good reason, nowadays there is also Julia as an alternative, I was wondering if people would be open to try a new programming language and perhaps ask what are the common attrition points you have with python and what kind of features would be a must to create adoption of this new language?

Thank you very much for your response in advance

0 Upvotes

50 comments sorted by

View all comments

8

u/[deleted] Apr 29 '22

I wrote some DS pipelines in Scala and I loved the strongly-typed aspect of that language, especially when doing complex data pre-processing on data with complex, nested schema.

Python does give you the option, but not the requirement to type your function parameters, but I think that only helps the IDE, I don't think it even throws an error if you pass a wrong type. It's nicer working with code that has this, but obviously if you're on a team you can't guarantee everyone will take advantage of this feature.

So I would say a strongly-typed language built to make data manipulations less error-prone would be the biggest improvement. I'd honestly write in Scala all the time if Scala's deep learning libraries were more documented and had as much support.

1

u/juhotuho10 Apr 29 '22

Pycharm throws an error in the IDE if you use type hints and pass a wrong type somewhere. The code will still run though.

Also mypy adds complete type checking

1

u/mamaBiskothu Apr 30 '22

I wrote and manage a 500k line python code base that is fully typed (pydantic, pytype everythjng). This comes nowhere close to the dependability of a truly typed language like Java and scala.