M
M
Maxim2020-06-12 00:01:18
Python
Maxim, 2020-06-12 00:01:18

Why did python not get in the way of dynamic typing?

Why is everyone poking at javascript because of its dynamic typing when it comes to the backend, Like, it's a toy language, etc. Although such a cool thing as node.js was made for javascript. But at the same time, dynamic typing did not prevent Python from becoming one of the most preferred languages ​​for the backend, and for very well-known companies as well. Although it doesn't have such a thing as node.js. And it is generally slower than a node. He is generally the slowest.
And by the way, why, with the advent of TypeScript, python is still considered a better option for the backend than node.js (BFF and gateway do not count, it's still not the "most" backend).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2020-06-12
@max_shane

You are confusing loose typing with dynamic typing. Yes, and that's not the point. JS has always worked crookedly and was too strange a language. This is it, for the last 5 years he got out of the bottom - ES6 appeared, typescript appeared and front-enders began to learn to program. But even with all this, it’s more difficult to roll into normal JS than into python. There are already a lot of changes, some webpacks, npm, yarn, nodejs, deno, somewhere import, somewhere require. After that, learn more TypeScript. In python, everything is simple - there is a third python, there is a non-third python. You put djanga or fastapi, huyak-huyak and deploy.
And the performance of the language in the context of the web is insignificant, especially since there is asynchronism in python - you still always run into IO.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question