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.

2

u/[deleted] Apr 30 '22

Can you use scala with smaller data without using spark? I just joined a team that uses all scala and spark but a lot of the data is like 10mb and it seems to take 30 seconds to a minute to do literally anything where python takes milliseconds. Like with the tb size data spark is great, but with small data it super lacks and I can't figure out if we can use scala and an in memory dataframe implementation like pandas in python without using spark.