DEV Community

Mitansh Panchal
Mitansh Panchal

Posted on

Why javascript for everything?

JavaScript is a programming language that is essential for modern web development. It is a versatile language that can be used to build a wide range of applications, from simple websites to complex web-based systems. Here are a few reasons why you should consider learning JavaScript:

  1. Demand for JavaScript developers is high: JavaScript is one of the most popular programming languages in the world, and there is a high demand for developers who are proficient in it. According to a survey by the website Indeed, JavaScript is the most sought-after programming language by employers.

  2. It's easy to learn: JavaScript is a relatively easy language to learn, especially for those who already have some programming experience. There are many resources available online, including tutorials, videos, and online courses, to help you get started.

  3. It's versatile: JavaScript can be used for a wide range of applications, including web development, mobile app development, and even desktop applications. This versatility makes it a valuable skill to have in your toolkit.

  4. It's constantly evolving: The JavaScript ecosystem is constantly evolving, with new libraries and frameworks being developed all the time. This means that there is always something new to learn, and you can stay up-to-date with the latest developments in the field.

  5. It's fun: JavaScript is a fun language to work with, and it allows you to build interactive and engaging websites and applications. This can make learning and using it a rewarding and enjoyable experience.

In conclusion, learning JavaScript is a valuable skill that can open up a wide range of opportunities for you as a developer. It is a versatile language that is in high demand, easy to learn, and constantly evolving. Whether you are a beginner or an experienced developer, learning JavaScript is a great investment in your career.

Top comments (16)

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

While I agree with all points, let's not forget that there are strong points against its use. The most important one: Performance.

Collapse
 
tracygjg profile image
Tracy Gilmore

Hi José,
I would agree the title is a little misleading. I am a JS fan and accept there are use cases for which JS is not at all appropriate. Performance of the JS engines is improving all the time but JS will never achieve the performance of a language like C, C++ or Rust. But then same could be said for C# and Java as they typically operate in a runtime engine.
However, I think the main point Mitansh was make was, for all its flaws, there are many things that make JS a good language to learn and have under your belt.
I am not sure what full-stack developers would do without it.

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

And I agree. I even liked the post. I just thought fair to caution unexperienced readers about the fact that cons do exist.

Collapse
 
brense profile image
Rense Bakker

That's kind of a big generalization... What are you comparing it to exactly? JavaScript itself is rarely the cause of bad performance...

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

In the server arena, pretty much anything is better than NodeJS in terms of number of transactions. Java servers double the number of transactions; .Net does 10 times more the number of transactions.

Thread Thread
 
brense profile image
Rense Bakker

That's not really true. NodeJS has extremely high throughput. Only in certain circumstances is NodeJS not a good choice. When you have very long running tasks for example, or when your task(s) needs to allocate a lot of memory.

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

What's your source? Because mine is easily accessible. It was all over the .Net 7 presentation.

Thread Thread
 
brense profile image
Rense Bakker

😅 and .net presentations are an objective source since when? I mean... It would be pretty weird if they said they're worse than NodeJS... The truth is, it depends (see earlier reply). NodeJS is famous for its high throughput... Not sure why you would try to argue otherwise, but I'm not really interested in a pissing contest.

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

I still don't see your source anywhere.

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

Here's for your education.

How fast is ASP.NET Core?

Programming Adventures

favicon dusted.codes

Quick summary

ASP.Net? Starts at position #9. Your "NodeJS, famous for its high throughput"? Starts at position #213.

Is the source Microsoft? No. It is TechEmpower.

It is never wise to speak of things you don't know.

Thread Thread
 
brense profile image
Rense Bakker

The only thing I learned is that you are an extremely arrogant person.

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

And you conclude that ... why? Because I spoke the truth and you spoke out of mere sentiment? Because I gave you facts and you did not? Should I just let other people come and read unfounded "facts" about something I know is not correct?

Tell me, because I just stated the truth from comment 1. How come I came to be the bad guy?

Thread Thread
 
brense profile image
Rense Bakker

Because you think you know better than millions of developers around the world, thats why. Also, because you felt the need to turn the discussion into a pissing contest, instead of being honest about the strengths and weaknesses of each language. Go ask Twitter/LinkedIn/Netflix/Uber/eBay why they use NodeJS, maybe you will learn something.

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

Did I email you and asked you to come comment some BS lie about NodeJS here so I could make a pissing contest out of it? Or did you, by your own free will, came here with zero technical knowledge and challenged me?

So you start the whole thing and because you lost now all of the sudden I started the feud? I cannot follow your logic at all.

I was honest. I gave facts. I don't think "I know better than millions", I just stated a clear fact attained by rigurous testing by a third party. That doesn't make me arrogant, in my opinion.

Go ask Twitter/LinkedIn/Netflix/Uber/eBay why they use NodeJS, maybe you will learn something.

Maybe you should take your own advice. Next time you decide to challenge someone with 20 years of experience you'll have a fact or two to help yourself out.

Thread Thread
 
brense profile image
Rense Bakker

The fact alone that you think I challenged you speaks volumes.

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

Really? Could it be that I don't speak English then? You come and ask for details. Then I gave said details. Then you used the words "That's not really true". So that means I'm mistaken or purposely lying. Isn't this interpretation the correct interpretation of what went down? You are questioning what I do professionally. Should I just take the insult and roll over?

Incredible.

But do you know how this would have gone some other way? If you have presented facts. Then we would have had a healthy and constructive conversation about this. Look how long this thread is, and still no facts. You just come here to try to attack my character, hinting I'm arrogant, or prepotent. Because I am well read? Grow up. Know when you're wrong.