Member-only story

Javascript Modules Are the Future

And Here is Why

Ziga Petek
6 min readMar 9, 2021

Ah, JavaScript. The web scripting language of our time. Because of it, websites actually became useful. Let’s be honest, there are much better programming languages than JavaScript, and for good reason.

This language has been over-simplified and not much thought has been put into optimizing it. Especially since it always was only meant to complement websites and not provide the main functionality. But that changed in recent years as a new method emerged. Meet Javascript modules.

TLDR;
Javascript modules are a relatively new technology that is finally supported natively in browsers. They are slowly overtaking other programming techniques and will in the future be the main method to separate code and keep your application clean and organized.

Photo by Greg Rakozy on Unsplash

I trust everyone reading this knows what JavaScript is. Else you would not have found this article. Javascript was initially a simple prototyping language meant to provide some basic functionality to websites.

There was no concept of classes or other higher programming structures. Functions were the most you could get. Each JavaScript file was loaded and…

--

--

Ziga Petek
Ziga Petek

Written by Ziga Petek

Developer, writer and a pure genious ... I may have exagerated a little ... Author of https://divine-coding.com

No responses yet