Modular Design in JavaScript (Functional Programming Edition)

Опубликовано: 15 Октябрь 2024
на канале: Codemanship
1,045
17

Jason Gorman demonstrates how to apply the principles of Modular Design in functional JavaScript.

Modules should:

1. Do one job
2. Hide their inner workings (e.g., data)
3. Have swappable dependencies
4. Only expose what clients need to use

Source code: https://github.com/jasongorman/js_mod...