There are tons of myths surrounding JS in the web developer community. These myths typically come from the beginner developers or the js developers themselves with less knowledge of its ecosystem.
1. JS is only the client side web development language
JS has been specially made for client-side web development for adding interactivity to the websites
But its just the story of the past. With Node JS and rise of popularity of so many back-end frameworks, JS is accessible in both backend and frontend development. Although this might not be the myth a few years ago, its clearly the myth now.
2. JS applications are hard to manage
Because of its inherent nature, JS seems like an unmanageable platform.
Unlike Java and .NET which has predefined management structure without any significant pain, JS has been difficult to manage language for a long time.
Although it might not be similar to these traditional and statically typed language its very versatile and you can easily implement any architectural pattern of your choice.
3. JS is only for web development
We can now use JS on almost any kind of application development from frontend-backend, desktop, mobile, games, and even embedded systems. Based on it we can firmly say that JS is a great multi-stack development tool.
Even though JS engines have lots of differences on their implementation making it really harder for developers to have a seamless cross-browser experience, it’s not so common because of wide adaptability of latest standard in all popular browsers and runtimes. And it’s not inherently the fault of language itself.
With ES6 we can even write JS methods with the class keyword which provided clean syntatical sugar for traditional functions. Hence we can conclude that even though it seems like a non Object oriented language it certainly is.
5. JS is the best language for beginner developers
My preference for the developers who want to be the developer for the long run and want to understand it from the core level you should begin with C or python.Starting with C enables you to understand lots of concepts which are common in most of the programming language not available in JS.
6. Hosting JS based applications is expensive
As PHP is the most common web development language in the world most of the web hosting and server is dedicated for hosting PHP based application. Hosting JS based application requires custom cloud servers with the capability to run node/some vps with shell access
. Even though its expensive and not so easy as compared to traditional cloud hosting its easy to manage and you application could have more power and flexibility. As real time application development is the major choice for jS developers , hosting in cloud provided an extra boost in performance .
There are some hosting platforms such as Vultr, Linode, Digital Ocean, Apache openshift,heroku etc which provide cloud servers in very effective rate. Hosting basic applications in heroku is totally free even for production.
Based on these we can say that hosting the JS based application is not so expensive all the way.
7. Learning JS is Hard
Because of not having some organized structure JS might seem like a really difficult language to learn for a beginner. It might be true in some sense but because of the availability of lots of online learning resources , Learning JS is not so hard as many have thought.
Its seems really confusing at first but with practise and more use you will love its elegance and potential.
Thanks for reading this article.
If you have anything to say regarding it please do not forgot to comment below. Thank You.