자료유형 | E-Book |
---|---|
개인저자 | FEDERICO KEREKI. |
서명/저자사항 | MASTERING JAVASCRIPT FUNCTIONAL PROGRAMMING;WRITE CLEAN, ROBUST, AND MAINTAINABLE WEB AND SERVER CODE USING FUNCTIONAL JAVASCRIPT, 2ND EDITION |
발행사항 | [Place of publication not identified] : PACKT Publishing, 2020. |
형태사항 | 1 online resource |
소장본 주기 | Added to collection customer.56279.3 |
ISBN | 1839217421 9781839217425 |
내용주기 | 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 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 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 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 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 |
요약 | 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 ... |
일반주제명 | JavaScript. |
언어 | 영어 |
기타형태 저록 | Print version:Kereki, Federico.Mastering JavaScript Functional Programming : Write Clean, Robust, and Maintainable Web and Server Code Using Functional JavaScript, 2nd Edition.Birmingham : Packt Publishing, Limited, 짤20209781839213069 |
대출바로가기 | http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=2361537 |
인쇄
No. | 등록번호 | 청구기호 | 소장처 | 도서상태 | 반납예정일 | 예약 | 서비스 | 매체정보 |
---|---|---|---|---|---|---|---|---|
1 | WE00018435 | 005.2762 | 가야대학교/전자책서버(컴퓨터서버)/ | 대출가능 |