- Добавил: literator
- Дата: 22-10-2024, 15:26
- Комментариев: 0
Название: Composing Software: An Exploration of Functional Programming and Object Composition in jаvascript (2024)
Автор: Eric Elliott
Издательство: Leanpub
Год: 2024-08-11
Страниц: 238
Язык: английский
Формат: pdf (true), epub
Размер: 10.1 MB
Unlock the power of functional programming in jаvascript with this detailed guide. Master essential techniques like function composition, immutability, and higher-order functions to create modular, maintainable code that's easy to understand and reuse. This book delves into functional programming and composition techniques in jаvascript, starting with core concepts like pure functions, shared state avoidance, and higher-order functions to build modular, maintainable code. Early chapters explore the fundamentals of functional programming, immutability, and its growing influence in the jаvascript community. You'll learn essential topics such as function composition, currying, and higher-order functions, as well as advanced concepts like abstract data types, functors, and monads. The book discusses the evolution of functional programming, its role in modern software development, and addresses challenges like the software crisis and composing with classes. You'll learn essential topics like object-oriented programming, focusing on factory functions, functional mixins, and object composition. You'll also understand why traditional classes complicate composition and discover strategies for creating custom data types, lenses, and transducers. The book also covers best practices, emphasizing clean, reusable code and avoiding anti-patterns like excessive mocking. By the end, you'll be ready to apply functional programming techniques to tackle complex design challenges and write more maintainable jаvascript code. The book is ideal for jаvascript developers who want to deepen their understanding of functional programming and software composition. Familiarity with jаvascript basics is required. This book is suitable for both intermediate and advanced programmers who want to write more maintainable and modular code.
Автор: Eric Elliott
Издательство: Leanpub
Год: 2024-08-11
Страниц: 238
Язык: английский
Формат: pdf (true), epub
Размер: 10.1 MB
Unlock the power of functional programming in jаvascript with this detailed guide. Master essential techniques like function composition, immutability, and higher-order functions to create modular, maintainable code that's easy to understand and reuse. This book delves into functional programming and composition techniques in jаvascript, starting with core concepts like pure functions, shared state avoidance, and higher-order functions to build modular, maintainable code. Early chapters explore the fundamentals of functional programming, immutability, and its growing influence in the jаvascript community. You'll learn essential topics such as function composition, currying, and higher-order functions, as well as advanced concepts like abstract data types, functors, and monads. The book discusses the evolution of functional programming, its role in modern software development, and addresses challenges like the software crisis and composing with classes. You'll learn essential topics like object-oriented programming, focusing on factory functions, functional mixins, and object composition. You'll also understand why traditional classes complicate composition and discover strategies for creating custom data types, lenses, and transducers. The book also covers best practices, emphasizing clean, reusable code and avoiding anti-patterns like excessive mocking. By the end, you'll be ready to apply functional programming techniques to tackle complex design challenges and write more maintainable jаvascript code. The book is ideal for jаvascript developers who want to deepen their understanding of functional programming and software composition. Familiarity with jаvascript basics is required. This book is suitable for both intermediate and advanced programmers who want to write more maintainable and modular code.