#Modules

5 posts

TypeScript Advanced #6: Modules and .d.ts
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.

Modern Python Basics #7: Modules/packages and pyproject.toml
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.

JavaScript Advanced #7 Module System in Depth
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.

JavaScript Basics #7 Modules — import and export
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.

Go Basics #7 Packages and Modules (go mod)
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.