Discover the power of functional programming, lazy evaluation, monads, concurrency, and immutability to create succinct and expressive implementations
Key FeaturesGet a solid understanding of how to apply functional programming concepts in TypeScriptExplore TypeScript runtime features such as event loop, closures, and PrototypesGain deeper knowledge on the pros and cons of TypeScriptBook DescriptionFunctional programming is a powerful programming paradigm that can help you to write better code. However, learning functional programming can be complicated, and the existing literature is often too complex for beginners. This book is an approachable introduction to functional programming and reactive programming with TypeScript for readers without previous experience in functional programming with JavaScript, TypeScript, or any other programming language.
The book will help you understand the pros, cons, and core principles of functional programming in TypeScript. It will explain higher order functions, referential transparency, functional composition, and monads with the help of effective code examples. Using TypeScript as a functional programming language, you’ll also be able to brush up on your knowledge of applying functional programming techniques, including currying, laziness, and immutability, to real-world scenarios.
By the end of this book, you will be confident when it comes to using core functional and reactive programming techniques to help you build effective applications with TypeScript.
What you will learnUnderstand the pros and cons of functional programming Delve into the principles, patterns, and best practices of functional and reactive programming Use lazy evaluation to improve the performance of applicationsExplore functional optics with Ramda Gain insights into category theory functional data structures such as Functors and Monads Use functions as values, so that they can be passed as arguments to other functionsWho this book is forThis book is designed for readers with no prior experience of functional programming with JavaScript, TypeScript or any other programming language. Some familiarity with TypeScript and web development is a must to grasp the concepts in the book easily.
Remo H. Jansen lives in Dublin, Ireland, where he works as the managing director of Wolk Software Limited and as a part-time lecturer at CCT College Dublin. Remo is a Microsoft MVP and an active member of the TypeScript community. He is the author of Learning TypeScript 2.x, organizes the Dublin TypeScript and Dublin OSS meetups, writes a blog, and maintains some open source projects on GitHub. Remo is available for conference talks, independent consulting, and corporate training services opportunities.