re: Why I use JS. VIEW POST

FULL DISCUSSION
 
  1. 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.

  1. Types and Equality
'2' - 1 // 1
'2' + 1 // '21'

Perfect type conversion.

  1. 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).

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.

Do not speak or teach without any knowledge.

Here are the languages I know decently:

  • JS (React, Cordova/Ionic, and vanilla JS)
  • Ruby (and Ruby on Rails)
  • C#
  • C++ (on Linux/Arduino)
  • C (on Linux)
  • GBASM
  • Python

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 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.

tbh

Do not speak or teach without any knowledge.

was a pretty strong statement and that's why i wrote the reply but ok

code of conduct - report abuse