Fast writing
You can write JS really fast. You don’t need to use semicolons
You mean Node.js, almost all modern languages doesn't use semicolons,
even COBOL.
Speaking of functions, you can do x => x / 2
Many languages already can do this with almost the same syntax.
So instead of "Hi {}!".format(name), you can do: Hi ${name}!
You can do
f"Hello {name}!"
which is shorter or equal. For example
Python
f"Hello, {name}! You're {age} years old, I {someword}"
Js
"Hello, ${name}! You're ${age} years old, I ${someword}"
Do not speak or teach without any knowledge.
Types and Equality
'2'-1// 1'2'+1// '21'
Perfect type conversion.
Packages
Because you haven't used any language or know any language.
There is much more perfect and awesome package managers than npm. node_modules, yeah.
The post is completely wrong. Python has much more features than JS
such as optional static typing (without using a new language), Erlang
has great concurrency, Elixir has a simpler syntax and better concurrency,
OCaml has great performance (compiles to native code), can compile to JS (Just for the web, not a real app).
This isn't a comprehensive review of JS with pros and cons. This is an > article about why I like using JS
This is an article of "pros of JS, this is why I use JS" or I'm such an idiot.
Knowing many languages doesn't matter. The only thing matters how do you write your code. Knowing a language is not just knowing how to print, loop or format. Knowing a language means you know what is exactly it is and what features it gives to you. You can not say you know Python decent, you can say I know JS because it's a language you exactly know.
I just said there is a shorter way and you said JS is shorter while you don't know there is a shorter way in Python. You have to a little bit Google about it. I'm 12yo dude, that's not a big age difference.
You mean Node.js, almost all modern languages doesn't use semicolons,
even COBOL.
Many languages already can do this with almost the same syntax.
You can do
which is shorter or equal. For example
Python
Js
Do not speak or teach without any knowledge.
Perfect type conversion.
Because you haven't used any language or know any language.
There is much more perfect and awesome package managers than npm.
node_modules
, yeah.The post is completely wrong. Python has much more features than JS
such as optional static typing (without using a new language), Erlang
has great concurrency, Elixir has a simpler syntax and better concurrency,
OCaml has great performance (compiles to native code), can compile to JS (Just for the web, not a real app).
You have to learn new things.
This isn't a comprehensive review of JS with pros and cons. This is an article about why I like using JS.
Here are the languages I know decently:
I think I know a decent amount of stuff about programming and other languages.
You don't have to like JS, but have some respect please.
This is an article of "pros of JS, this is why I use JS" or I'm such an idiot.
Knowing many languages doesn't matter. The only thing matters how do you write your code. Knowing a language is not just knowing how to print, loop or format. Knowing a language means you know what is exactly it is and what features it gives to you. You can not say you know Python decent, you can say I know JS because it's a language you exactly know.
I just said there is a shorter way and you said JS is shorter while you don't know there is a shorter way in Python. You have to a little bit Google about it. I'm 12yo dude, that's not a big age difference.
tbh
was a pretty strong statement and that's why i wrote the reply but ok