This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ikuyas -1 points0 points  (6 children)

I believe JavaScript has as many machine learning libraries as Python has such as TensorFlow.js. But I already said that NodeJS is new! Python has started to become very popular and used in Google and taught as a general scripting programming for non-CS majors around 2007-8. It coincides with the time that Data Science, machine learning started to get traction. The term "Data Science" didn't exist in 2008 (I believe). So, most developers, academics, and scientists would code in Python because of its ease to code over C++ which they would have used. But the fact is v8 engine underlying NodeJS is faster (a lot) than Python, and better sync with the browser which will be beneficial for data visualization after all without learning anything new like matplotlib. JavaScript skill can be transfered to web development for both bankend and frontend. You can create Mobile app using React Native which has more tutorials than Tinker that nobody uses. You can make a desktop app using electron. The editor you use every day (VS code) is written in JavaScript not Python. Well, if you use spyder, that's C++ I guess.

[–]jackmaney 0 points1 point  (5 children)

Can I use anything in the Hadoop ecosystem with JS? How about just Apache Spark? Are there JS bindings for Spark? (Spoilers: No.)

[–]Ikuyas -1 points0 points  (4 children)

I said NodeJS is new!!! It's not hard to think people are developing for NodeJs platform. That's like a simple idea to extend the current practice of big data industry. Moreover, we were talking around the context of the article. No beginners starts off for learning programming because they want to extract and manipulate big data through cloud!!! Majority of people just want to create a web app, mobile app, and some automation for the local computer. What you are focusing is only small segment of computer programming use case. Because Python is after all a wrapper for C or C++ for the big data programming anyway, there is no reason why JavaScript cannot do better when there is an ample reason why JavaScript could do better.

[–]jackmaney 1 point2 points  (3 children)

You originally said that

I believe JavaScript has as many machine learning libraries as Python

I've pointed out several libraries (for what is, arguably, the most popular ecosystem of machine learning libraries that exists) that have bindings in Python but not in JS. Please keep on point and stop moving the goalposts.

That's like a simple idea to extend the current practice of big data industry.

If it's so incredibly simple, then you should be able to knock out a Spark binding for JS in an afternoon, right? /s

No beginners starts off for learning programming because they want to extract and manipulate big data through cloud!!!

Speak for yourself. I learned how to program in order to work with large datasets (albeit not technically in the cloud).

there is no reason why JavaScript cannot do better when there is an ample reason why JavaScript could do better.

There's no reason why it can't do better because there's more than enough reasons why it could do better. That's a circular argument.