Beginning Functional JavaScript : Uncover the Concepts of Functional Programming with EcmaScript 8 /: Uncover the Concepts of Functional Programming with EcmaScript 8. ([2018])
- Record Type:
- Book
- Title:
- Beginning Functional JavaScript : Uncover the Concepts of Functional Programming with EcmaScript 8 /: Uncover the Concepts of Functional Programming with EcmaScript 8. ([2018])
- Main Title:
- Beginning Functional JavaScript : Uncover the Concepts of Functional Programming with EcmaScript 8
- Further Information:
- Note: Anto Aravinth, Srikanth Machiraju.
- Authors:
- Machiraju, Srikanth
- Other Names:
- Aravinth, Anto, ‡e author
- Contents:
- Intro; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Functional Programming in Simple Terms; What Is Functional Programming? Why Does It Matter?; Referential Transparency; Imperative, Declarative, Abstraction; Functional Programming Benefits; Pure Functions; Pure Functions Lead to Testable Code; Reasonable Code; Parallel Code; Cachable; Pipelines and Composable; A Pure Function Is a Mathematical Function; What We Are Going to Build; Is JavaScript a Functional Programming Language?; Summary Chapter 2: Fundamentals of JavaScript Functions ECMAScript: A Bit of History; Creating and Executing Functions; First Function; Strict Mode; Return Statement Is Optional; Multiple Statement Functions; Function Arguments; ES5 Functions Are Valid in ES6 and Above; Setting Up Our Project; Initial Setup; Our First Functional Approach to the Loop Problem; Gist on Exports; Gist on Imports; Running the Code Using Babel-Node; Creating Script in Npm; Running the Source Code from Git; Summary; Chapter 3: Higher Order Functions; Understanding Data; Understanding JavaScript Data Types; Storing a Function Passing a FunctionReturning a Function; Abstraction and Higher Order Functions; Abstraction Definitions; Abstraction via Higher Order Functions; Higher Order Functions in the Real World; every Function; some Function; sort Function; Summary; Chapter 4: Closures and Higher Order Functions; Understanding Closures; What Are Closures?;Intro; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Functional Programming in Simple Terms; What Is Functional Programming? Why Does It Matter?; Referential Transparency; Imperative, Declarative, Abstraction; Functional Programming Benefits; Pure Functions; Pure Functions Lead to Testable Code; Reasonable Code; Parallel Code; Cachable; Pipelines and Composable; A Pure Function Is a Mathematical Function; What We Are Going to Build; Is JavaScript a Functional Programming Language?; Summary Chapter 2: Fundamentals of JavaScript Functions ECMAScript: A Bit of History; Creating and Executing Functions; First Function; Strict Mode; Return Statement Is Optional; Multiple Statement Functions; Function Arguments; ES5 Functions Are Valid in ES6 and Above; Setting Up Our Project; Initial Setup; Our First Functional Approach to the Loop Problem; Gist on Exports; Gist on Imports; Running the Code Using Babel-Node; Creating Script in Npm; Running the Source Code from Git; Summary; Chapter 3: Higher Order Functions; Understanding Data; Understanding JavaScript Data Types; Storing a Function Passing a FunctionReturning a Function; Abstraction and Higher Order Functions; Abstraction Definitions; Abstraction via Higher Order Functions; Higher Order Functions in the Real World; every Function; some Function; sort Function; Summary; Chapter 4: Closures and Higher Order Functions; Understanding Closures; What Are Closures?; Remembering Where It Is Born; Revisiting sortBy Function; Higher Order Functions in the Real World (Continued); tap Function; unary Function; once Function; memoize Function; assign function; Summary; Chapter 5: Being Functional on Arrays Working Functionally on Arraysmap; filter; Chaining Operations; concat All; Reducing Function; reduce Function; Zipping Arrays; zip Function; Summary; Chapter 6: Currying and Partial Application; A Few Notes on Terminology; Unary Function; Binary Function; Variadic Functions; Currying; Currying Use Cases; A logger Function: Using Currying; Revisit Curry; Back to logger Function; Currying in Action; Finding a Number in Array Contents; Squaring an Array; Data Flow; Partial Application; Implementing partial Function; Currying vs. Partial Application; Summary; Chapter 7: Composition and Pipelines Composition in General Terms Unix Philosophy; Functional Composition; Revisiting map, filter; compose Function; Playing with the compose Function; curry and partial to the Rescue; compose Many Functions; Pipelines and Sequence; Implementing pipe; Odds on Composition; Composition Is Associative; The Pipeline Operator; Debugging Using the tap Function; Summary; Chapter 8: Fun with Functors; What Is a Functor?; Functor Is a Container; Implementing map; MayBe; Implementing MayBe; Simple Use Cases; Real-World Use Cases; Either Functor; Implementing Either; Reddit Example Either Version … (more)
- Edition:
- Second edition
- Publisher Details:
- Berkeley, California : Apress
- Publication Date:
- 2018
- Extent:
- 1 online resource (319 pages)
- Subjects:
- 005.2/762
JavaScript (Computer program language)
Functional programming (Computer science)
Web Development
Programming Techniques
Software Engineering
Functional programming (Computer science)
JavaScript (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781484240878
1484240871 - Related ISBNs:
- 9781484240861
- Notes:
- Note: Description based on online resource; title from digital title page (viewed on January 22, 2019).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.380698
- Ingest File:
- 02_370.xml