Composing Software: An Exploration of Functional Programming and Object Composition in JavaScript

Språk
Engelsk
Format
Kategori

Fakta og dokumentar

This book delves into functional programming and composition techniques in JavaScript, 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 JavaScript 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 JavaScript code.

© 2024 Packt Publishing (E-bok): 9781836644620

Utgivelsesdato

E-bok: 30. september 2024

Tagger

Andre liker også ...

Derfor vil du elske Storytel:

  • Over 900 000 lydbøker og e-bøker

  • Eksklusive nyheter hver uke

  • Lytt og les offline

  • Kids Mode (barnevennlig visning)

  • Avslutt når du vil

Det mest populære valget

Unlimited

For deg som vil lytte og lese ubegrenset.

219 kr /måned

14 dager gratis
  • Lytt så mye du vil

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Benytt tilbud

Family

For deg som ønsker å dele historier med familien.

Fra 289 kr /måned

14 dager gratis
  • Lytt så mye du vil

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Du + 1 familiemedlem2 kontoer

289 kr /måned

Benytt tilbud

Premium

For deg som lytter og leser ofte.

189 kr /måned

  • Lytt opptil 50 timer per måned

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Benytt tilbud

Basic

For deg som lytter og leser av og til.

149 kr /måned

  • Lytt opp til 20 timer per måned

  • Over 900 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Benytt tilbud

Lytt og les ubegrenset

Kos deg med ubegrenset tilgang til mer enn 700 000 titler.

  • Lytt og les så mye du vil
  • Utforsk et stort bibliotek med fortellinger
  • Over 1500 serier på norsk
  • Ingen bindingstid, avslutt når du vil
Benytt tilbud
NO - Details page - Device banner - 894x1036
Cover for Composing Software: An Exploration of Functional Programming and Object Composition in JavaScript