Functional Programming in JavaScript

上传:a龙船调a 浏览: 37 推荐: 0 文件:PDF 大小:14.45MB 上传时间:2019-09-18 08:49:12 版权申诉
BeginningFunctionalJavaScriptFunctional Programming withJavaScript Using EcmaScript 6WOW! eBookwww.wowebook.orgFunctionalProgramminUIS ATENCIOMANNINGSHELTER ISLANDWOW! eBookwww.wowebook.orgFor online information and ordering of this and other Manning books, please visitwww.manning.com.ThepublisheroffersdiscountsonthisbookwhenorderedinquantityFor more information, please contactSpecial Sales DepartmentManning publications Co20 Baldwin roadPO BoX 761Shelter island. ny11964Emailorders@manning.com@2016 by Manning Publications Co. All rights reservedNo part of this publication may be reproduced, stored in a retrieval system, or transmitted, inany form or by means electronic, mechanical, photocopying, or otherwise, without prior writtenpermission of the publisherMany of the designations used by manufacturers and sellers to distinguish their products areclaimed as trademarks. Where those designations appear in the book, and ManningPublications was aware of a trademark claim, the designations have been printed in initial capsor all capsG Recognizing the importance of preserving what has been written, it is Mannings policy to havethe books we publish printed on acid-free paper, and we exert our best efforts to that endRecognizing also our responsibility to conserve the resources of our planet, Manning bookare printed on paper that is at least 15 percent recycled and processed without the use ofelemental chlorineManning publications coDevelopment editor: Marina michaels20 Baldwin roadTechnical development editor: Dean IversonPO Box 761Review editor: Aleksandar dragosavljevicShelter island. ny 11964Project editor: Tiffany TaylorCopy editor: Tiffany TaylorProofreader: Katie tennantTechnical proofreader: Daniel LambTypesetter: Dennis DalinnikCover designer: Leslie haimesISBN:9781617292828Printed in the united states of america12345678910-EBM-212019181716WOW! eBookwww.wowebook.orgTo my wonderful wife, AnaThank you for your unconditional supportand for being the source of passion and inspiration in my lifeWOW! eBookwww.wowebook.orgWOW! eBookwww.wowebook.orgbrief contentsPART 1 THINK FUNCTIONALLY1 Becoming functional 3Higher-order JavaScript 28PART 2 GET FUNCTIONAL553 Few data structures, many operations 574 Toward modular reusable code 84Design patterns against complexity 117Part 3 ENHANCING YOUR FUNCTIONAL SKILLS....1516Bulletproofing your code 153Functional optimizations 1808 Managing asynchronous events and data 205WOW! eBookwww.wowebook.orgWOW! eBookwww.wowebook.orgcontentspreface xuacknowledgments xviabout this book xixPART 1 THINK FUNCTIONALLYBecoming functional 31.1 Can functional programming help? 51. 2 What is functional programming? 5Functional programming is declarative 7. Pure functions andthe problem with side effects 9. Referential transparency andsubstitutability 13. Preserving immutable data 151.3 Benefits of functional programming 16complexity of asynchronous applications /a adEncouraging the decomposition of complex tasks IProcessing data using fluent chains 18 Recto thesummary2WOW! eBookwww.wowebook.org
上传资源
用户评论