Learn a Language: JavaScript
Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through my Instagram account I’m often asked:
“Which programming language should I learn?”
I wanted to be able to give a better answer than “it depends”, so with this Learn a Language series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!
With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.
In this article, my good friends Raf and Marty aka @codingcouple give an overview of JavaScript!
How long have you been working with JavaScript?
We’ve been working with JS professionally for over a year now. Previous to that we’d been learning it for a little less than a year.
What made you choose to work with JavaScript?
When started learning how to code, we were both massively interested in all things Web-related, so JavaScript as a language of the Web seemed like a natural choice. It also is quite fun to work with — it lives in every popular browser and you can start coding straight away — without rather confusing (for beginners) setups and installation processes.
What sort of things is JavaScript well-suited for? When should someone consider using JavaScript for their project?
As mentioned above, JavaScript is a language of the Web and is most commonly used as a client-side scripting language for adding complex functionalities into web applications, such as displaying content updates, interactive maps, animations, graphics, videos, etc. It is the third layer of the web cake, laying lusciously underneath the HTML and CSS. 😊
However, with the rising popularity of JavaScript, people have developed a number of tools and technologies to work with things other than just the Web. With JavaScript we can now also build server-side code, develop native mobile apps (both iOS and Android!), create cross-platform desktop software, play around with VR and AR and many, many more things!
If you also know other languages, how does JavaScript compare to these?
JavaScript falls into a syntax tradition derived from the B programming languages, just like Java, C, C++, C#, etc., and in that sense, it is similar to these languages.
In a sense of JavaScript’s design and structure it would be the best to look at languages that either influenced JavaScript itself — like Scheme with its lexical scoping, nested first-class and higher-order procedures, or Self that gave the idea of using a prototype-based object model which might be the most powerful feature of JavaScript — or languages that have been influenced by JavaScript, such as TypeScript, CoffeeScript or a little bit stricter ActionScript.
Are there any types of project / task that JavaScript would not be a good choice for?
With all the powerful tools, libraries, frameworks and such, JavaScript could be a good solution to almost any problem you might find as a professional developer. In fact, it is not a matter of JavaScript not being a good choice, but rather that some other tools might be a better answer for particular tasks. For instance, you can use TensorFlow.js, a JavaScript library that allows you to define, train and run machine learning models, but Python might be just a better tool for that particular set of problems. So if this is your area of focus, you probably will be better off with Python. But if you’re a web developer who would like to start doing some machine learning — well, there are also JavaScript tools for that!
What do you particularly like about coding in JavaScript?
So many things! It is a very, very versatile language, in fact the only one that can be used as a true full stack language for Web development. It is also a multi-paradigm language, which means it can be whatever you would like it to be — be it object-oriented, functional, imperative, declarative, etc.
Although not recommended by some people — you really can build an entire complex web application using just one language. And on the top of that — JS is not going anywhere anytime soon. If you haven’t decided which language to learn first, JavaScript might be your safest bet.
What are the things that frustrate you when working with JavaScript? What possible sources of pain or frustration (if any!) should people be aware of before they start learning JavaScript?
Ever-changing environment. You feel like you’re getting comfortable with this particular JS tool you wanted to learn how to use? Forget it. Someone already developed a new one, the market moved on, the online fanbase is getting excited about other new things, and you’re back to square one!
However frustrating it might sound — there’s a benefit to that. Once you master the common concepts, approaches, and mindset in programming, picking up new tools and tricks will not be that difficult. It will also, eventually, make you a better coder too (if you follow the best standards and practices, which you obviously do!).
Get John Martin’s stories in your inbox
Join Medium for free to get updates from this writer.
The job market seems to be quite crazy too. When browsing the job offers, especially as a beginner, you might easily get confused with all the terminology, with companies looking for a Vue developers, React developer, Angular developer, Node developer, Electron developer, the list goes on… When it all might just mean: ‘we’re looking for a decent JS developer’, candidates might feel put off by technologies they’re not familiar with yet.
What dev tools do you use when working with JavaScript? What other tools are also popular?
Our favourites:
- IDE: Visual Studio Code
- debugger: Chrome Dev Tools
- package manager: npm
- module bundler: webpack
- testing framework: Mocha
- BrowserStack — to test how your app looks & behaves on different operating systems and devices;
Chrome plugins:
- Form filler — automatically fills web app forms (great when you work on registration part of your app and need to test and don’t want to fill forms 20+ times a day)
- Wappalyzer — to check what technologies are used on the websites we like
- Ghostery — to identify API calls from the website
- WAVE, aXe & Accessibility Developer Tools — for accessibility testing
- NoCoffee vision simulator — to test how our web app looks for users’ with vision problems
- Redux DevTools — for debugging application’s state changes, if using Redux library
Which resources would you recommend for people looking to learn JavaScript?
- The best resource is definitely Mozilla Development Network (MDN). They have everything — easy read documentation, guides, and loads of real-life tutorials. Couldn’t recommend more.
- Free Code Camp is a free online course for all the levels, includes not only all the basics, but algorithmics, data structures, debugging etc., not to mention you can get a free certification!
- The Odin Project — free online full-stack web development courses, with step-by-step instructions and recommendations to many other free resources in every chapter, there’s a JavaScript course here: https://www.theodinproject.com/courses/javascript
- Egghead — set of amazing tutorials for most popular JavaScript frameworks, libraries and tools.
- Udemy — not free, but the video courses are reasonably priced and very well structured. Out of all the cool JavaScript courses they offer, we especially recommend this one: https://www.udemy.com/the-complete-javascript-course/
- Google Maps Platform — includes a set of very helpful tutorials and lectures explaining how geolocation, direction services and all that shebang works. Following their suggestions and tips, you can build lots of cool JS projects using the Google Maps API;
- Wes Bos’s articles, videos and tutorials. He explains and guides through most of the popular JS tools, technologies, frameworks and concepts. We strongly recommend his ES6 series, JS30 challenge and Learn Node!
- You Don’t Know JS — a book series diving deep into the core mechanism of JavaScript language. An absolute must read for every JS developer! Free online version here: https://github.com/getify/You-Dont-Know-JS
What are the popular libraries or frameworks that people should also consider learning with JavaScript, and what do they do?
- React + Redux — at the moment the most popular combo for web applications;
- Vue.js — JavaScript UI framework that seems to be gaining popularity at the speed of light;
- Angular 6 — super powerful JS MVC platform. Although by default it uses TypeScript (not JS) we decided to include it here, as we’re huge TypeScript enthusiasts!
- Electron — very exciting framework for creating native cross platform desktop apps!
- React Native — a framework which is applying React library architecture to build native mobile apps;
- rxJS — a library that allows you to easily use reactive programming paradigm with JS, extremely helpful while working with MVC architecture
- Node.js — a runtime engine to execute JavaScript code outside the browser (server side scripting as opposed to more traditional client side scripting mentioned above)
- Express.js — a server side framework for Node.js environment;
- Mocha and Jasmine — testing frameworks great for unit testing, beginner-friendly with great documentation;
- TensorFlow.js — library for dataflow programming; can be used to build machine learning applications!
- Synaptic.js — the JavaScript neural network library;
- Google Maps Platform with all its tools, a very handy stack for web app developers, very beginner friendly, very powerful with great documentations and community support;
- GSAP (GreenSock) — a library for JavaScript animation (remember ActionScript? This is much better!);
- CreateJS suite — Adobe-supported set of libraries for creating an interactive content for web applications. Can deal with animations, tweening, sound engineering and more!
Anything else you want to say about JavaScript?
JavaScript is a very powerful and very versatile language, which happens to also be very much beginner friendly and it might have the biggest and the most helpful community out there. It is very easy to pick up with all the amazing (and quite often free) tutorials available online.
JavaScript is also used by most companies all over the world and it is probably going to stay that way for a while, so if you’re not sure which language to pick up and you want to work with the Web… this will be the right choice!
Thank you so much Raf and Marty! Where can people find you online?
- Instagram: @codingcouple
- Twitter: @codingcouple
Thank you so much for reading! I hope you found this article useful!
If you know JavaScript and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!
Other languages will be coming soon!
You can find me:
Instagram: @martinsoft
Online: https://martinsoft.net
I also co-host @meetupandcode, a regular meet-up in London for devs with any level of experience. Join us!









