September 2024
Beginner to intermediate
985 pages
35h 37m
English
The larger a software project becomes, the more important it is to structure the source code correctly, both to have an overview of the code and to encapsulate data and methods appropriately, and to avoid naming conflicts among variables, objects, and functions, both within your own source code and when using third-party libraries.
By default, JavaScript offers the option to combine source code via modules since ES2015. But even in the past, various design patterns and approaches had emerged that can be used to implement this requirement. In this chapter, we’ll first discuss these design patterns for historical reasons and for didactic reasons, and then we’ll take a closer look at the native modules introduced ...
Read now
Unlock full access