DEV Community

david duymelinck
david duymelinck

Posted on

Is there too much focus on javascript?

I just read an article where someone wrote down their thoughts after watching a developer game show.

What i took away from the article is that developer education is geared too much to web development.
And because javascript is now used for backend and frontend code, that has become the language for most code examples. I want to explore the language aspect more in this post.

The first example where someone didn't know to create a website without javascript, is in my opinion a little extreme. I think most people that use javascript know that you have node to run javascript on the server, and the browser engine runs javascript you send to it.

I think because there are so many javascript options today, people have to specialise too quickly. Which leads to people that have a deep understanding of a specific framework and become blind to solutions that could be closer to the source.
For example when the request becomes to slow, the knee jerk reaction is to add caching. Instead of figuring out what makes the request slow, and find a solution based on that conclusion.

I see the benefits of a codebase that is almost all javascript, the problem is that it could skip the benefits of other languages. There is a reason no current operating system is rewritten in javacript.
I think it is great that you can use a javascript framework to create an android or apple device app. But I hope people know that to create a running app a part of the code is in a backend language, in order to communicate with the device.

It is like only speaking English. Because it is so widespread you can communicate with a lot of people. But if you learn a few language well enough you will have a better experience talking to native speakers. Even learning a few words can get the ball rolling.

What do you think? Is javascript the only language you need? Or is it good to know multiple languages?

Top comments (0)