MARC보기
LDR05087cmm u2200469M 4500
001000000317552
003OCoLC
00520230525182842
006m d
007cr |||||||||||
008200201s2020 xx o 000 0 eng d
019 ▼a 1138669937
020 ▼a 1839217421 ▼q (electronic bk.)
020 ▼a 9781839217425 ▼q (electronic bk.)
035 ▼a 2361537 ▼b (N$T)
035 ▼a (OCoLC)1138546739 ▼z (OCoLC)1138669937
040 ▼a YDX ▼b eng ▼c YDX ▼d OCLCQ ▼d EBLCP ▼d CHVBK ▼d N$T ▼d 248032
049 ▼a MAIN
050 4 ▼a QA76.73.J39 ▼b .K474 2020
08204 ▼a 005.2762 ▼2 23
1001 ▼a FEDERICO KEREKI.
24510 ▼a MASTERING JAVASCRIPT FUNCTIONAL PROGRAMMING;WRITE CLEAN, ROBUST, AND MAINTAINABLE WEB AND SERVER CODE USING FUNCTIONAL JAVASCRIPT, 2ND EDITION
260 ▼a [Place of publication not identified] : ▼b PACKT Publishing, ▼c 2020.
300 ▼a 1 online resource
336 ▼a text ▼b txt ▼2 rdacontent
337 ▼a computer ▼b c ▼2 rdamedia
338 ▼a online resource ▼b cr ▼2 rdacarrier
5050 ▼a Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Contributors -- Table of Contents -- Preface -- Technical Requirements -- Chapter 1: Becoming Functional -- Several Questions -- What is functional programming? -- Theory versus practice -- A different way of thinking -- What FP is not -- Why use FP? -- What we need -- What we get -- Not all is gold -- Is JavaScript functional? -- JavaScript as a tool -- Going functional with JavaScript -- Key features of JavaScript -- Functions as first-class objects -- Recursion -- Closures -- Arrow functions -- Spread
5058 ▼a How do we work with JavaScript? -- Using transpilers -- Working online -- Testing -- Summary -- Questions -- Chapter 2: Thinking Functionally -- A First Example -- Our problem -- doing something only once -- Solution 1 -- hoping for the best! -- Solution 2 -- using a global flag -- Solution 3 -- removing the handler -- Solution 4 -- changing the handler -- Solution 5 -- disabling the button -- Solution 6 -- redefining the handler -- Solution 7 -- using a local flag -- A functional solution to our problem -- A higher-order solution -- Testing the solution manually -- Testing the solution automatically
5058 ▼a Producing an even better solution -- Summary -- Questions -- Chapter 3: Starting Out with Functions -- A Core Concept -- All about functions -- Of lambdas and functions -- Arrow functions -- the modern way -- Returning values -- Handling the this value -- Working with arguments -- One argument or many? -- Functions as objects -- A React-Redux reducer -- An unnecessary mistake -- Working with methods -- Using functions in FP ways -- Injection -- sorting it out -- Callbacks, promises, and continuations -- Continuation passing style -- Polyfills -- Detecting Ajax -- Adding missing functions -- Stubbing
5058 ▼a Immediate invocation -- Summary -- Questions -- Chapter 4: Behaving Properly -- Pure Functions -- Pure functions -- Referential transparency -- Side effects -- Usual side effects -- Global state -- Inner state -- Argument mutation -- Troublesome functions -- Advantages of pure functions -- Order of execution -- Memoization -- Self-documentation -- Testing -- Impure functions -- Avoiding impure functions -- Avoiding the usage of state -- Injecting impure functions -- Is your function pure? -- Testing -- pure versus impure -- Testing pure functions -- Testing purified functions
5058 ▼a Testing impure functions -- Summary -- Questions -- Chapter 5: Programming Declaratively -- A Better Style -- Transformations -- Reducing an array to a value -- Summing an array -- Calculating an average -- Calculating several values at once -- Folding left and right -- Applying an operation -- map -- Extracting data from objects -- Parsing numbers tacitly -- Working with ranges -- Emulating map() with reduce() -- Dealing with arrays of arrays -- Flattening an array -- Mapping and flattening -- flatMap() -- Emulating flat() and flatMap() -- More general looping -- Logical higher-order functions
520 ▼a Functional programming is a paradigm for developing software using functions. With this book, you'll make the most of JavaScript programming with a focus on functional programming techniques and styles. Instead of simply working with existing libraries, the book helps you create your own basic building blocks for understanding the concepts ...
590 ▼a Added to collection customer.56279.3
650 0 ▼a JavaScript.
655 4 ▼a Electronic books.
77608 ▼i Print version: ▼a Kereki, Federico. ▼t Mastering JavaScript Functional Programming : Write Clean, Robust, and Maintainable Web and Server Code Using Functional JavaScript, 2nd Edition. ▼d Birmingham : Packt Publishing, Limited, 짤2020 ▼z 9781839213069
85640 ▼3 EBSCOhost ▼u http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=2361537
938 ▼a YBP Library Services ▼b YANK ▼n 301076363
938 ▼a ProQuest Ebook Central ▼b EBLB ▼n EBL6029160
938 ▼a EBSCOhost ▼b EBSC ▼n 2361537
990 ▼a 관리자
994 ▼a 92 ▼b N$T