#Modules
5 posts
7 min read
TypeScript Advanced #6: Modules and .d.ts
How to handle and extend the types of external libraries — declaration files (.d.ts), the declare keyword, module augmentation, and adding global types.
4 min read
Modern Python Basics #7: Modules/packages and pyproject.toml
The import system, the difference between modules and packages, __init__.py and __main__, and pyproject.toml for dependencies, tool config, and distribution — all in one place.
7 min read
JavaScript Advanced #7 Module System in Depth
Differences between CommonJS and ES Modules, module hoisting, circular references — the inner workings of JavaScript module systems.
6 min read
JavaScript Basics #7 Modules — import and export
The ES Modules system for splitting code across files — named export, default export, plus common pitfalls and recommended patterns.
7 min read
Go Basics #7 Packages and Modules (go mod)
Go's code organization — splitting by package, importing external packages, and everything about managing dependencies with go mod.