JavaScript or Python?

It depends on what you want to do with them. All good!
 
From a programmer's view, which one is comfortable and better?

I enjoyed learning both of them. It really depends on what you're trying to accomplish with the language you learn.

Apps & web design? Javascript all day. Javascript for web design is more useful than Python in my experience.

For automation, bots, or data collection - Python is the one you'd be looking for. Python can free up a lot of time from manual tasks.
 
I prefer JS because of my web development background, but I could live with python as well. It’s just the matter of taste. Both languages are super powerful.
 
Definitely javascript. Javascript can do what Python can, but not the other way around.
 
For web/app automation projects I usually go with javascript because of asynchronous programming.
 
LOL I see more than one misinformed opinion on both sides.

Again, JS and Python, both are pretty dope right now and can do just about anything you can throw at it.

Python is not Asynchronous - You don't need it! Just use threads for I/O bound ops. (ps, see https://docs.python.org/3/library/asyncio.html for python 3)
Javascript needs lots of manual tasks - LOL, that was true may be back in 2008. I doubt you will even understand modern JS code with that experience. ;)


All in all, don't scare OP. :p
Let's let him choose his weapon by providing our experience, not the lack of it.
 
They can both do the exact same thing , python has easy syntax advantage with or without an IDE as for JS it wins in term of front end and can be a hassle to get used to.
that's my experience by far.

but if you want to get down to the technicals it would take way too many paragraphs to explain when one is better than the other.
 
We are in the tech space and digital automation world where we every day evolve ourselves in more automation in every field. If you want to compare the usage of JS vs Python, then I would call it the basics as necessity is the mother of all inventions.

In this Primetime, JS has reappeared in multiple structures such as Angular, React to bring more functionalities and richness in the frontend, and Node.js connects the backend process and gives the total unleashing experience for a full-stack developer.

But, on the other side, Python is mostly pitched in or picked for application automation, cloud, or high-end tech-based automation, the power pack that solves more complex problems.

Simply in user terms,
JS - Web Development and Web Automation
Python - Application Automation

You also try adopting to check the compatibility of GO Language as well.
 
These are the funniest threads. Everyone always says python but what do you even build with python? a PyTorch model?

Everything useful is made without python. C++/C# for games, html/css/php/js for web, mobile is similar languages with Ruby on Rails being particularly useful in practice. Python imo is fucking trash can in real world use it just looks like a 3rd grader wrote it so people like it.
 
Python is for working with data and machine learning. You learn it to use PyTorch and scrape data quickly.

JavaScript is for coding pretty and useful user interfaces. You learn it to use react or vue or angular.

Both can be used to build whole websites using node.js in JavaScript and django in python.
 
These are the funniest threads. Everyone always says python but what do you even build with python? a PyTorch model?

Everything useful is made without python. C++/C# for games, html/css/php/js for web, mobile is similar languages with Ruby on Rails being particularly useful in practice. Python imo is fucking trash can in real world use it just looks like a 3rd grader wrote it so people like it.
In the last couple of years I built at least 20 bots for automation SM accounts and SEO stuff.

I also made a bot to pull out keywords from ahefs based on different criteria.

I made a bot to find expired domains on authority sites such as CNN, BBC etc... The bot actually crawl any website... It's quite nice tool. I'm using it for years.

I made GTP-3 bot to make things easier. I was playing with open GTP-J as well.

At the moment I have fun with newest/ biggest GTP-3 alternate - BOOM.

Enough for you?

JavaScript is more complex. For the same function you need to write much more code in JavaScript..at least 5 lines more.

Python is more readable and understandable, especially for beginners.

PHP? PHP is not even close to JavaScript nor Python. PHP is limited, it's good mostly for web development.

No doubt, the future is in a Python. You can do everything in Python.... web development, games, IoT, machine learning, automation tools, blockchain, etc...

So yeah, Python!
 
No doubt, the future is in a Python. You can do everything in Python.... web development, games, IoT, machine learning, automation tools, blockchain, etc
And then you can come back here and say you can't code an interface cause you skipped JavaScript. Yes. I know. No code. But its crap.
 
And then you can come back here and say you can't code an interface cause you skipped JavaScript. Yes. I know. No code. But its crap.
Most of the interfaces are quite the same with the same functionalities. You can actually buy it for $50 or so.
 
In the last couple of years I built at least 20 bots for automation SM accounts and SEO stuff.

I also made a bot to pull out keywords from ahefs based on different criteria.

I made a bot to find expired domains on authority sites such as CNN, BBC etc... The bot actually crawl any website... It's quite nice tool. I'm using it for years.

I made GTP-3 bot to make things easier. I was playing with open GTP-J as well.

At the moment I have fun with newest/ biggest GTP-3 alternate - BOOM.

Enough for you?

JavaScript is more complex. For the same function you need to write much more code in JavaScript..at least 5 lines more.

PHP? PHP is not even close to JavaScript nor Python. PHP is limited, it's good mostly for web development.

No doubt, the future is in a Python. You can do everything in Python.... web development, games, IoT, machine learning, automation tools, blockchain, etc...

So yeah, Python!
You act like you built 5 different things when all I see here is 5 different web scrapers.

I could write anything in assembly too but you don't see anyone doing that.

Web scrapers can be done easily in literally any language people is today.
 
Looks like a bit fight but like someone said it's more or less about personal preferences.
 
Back
Top