首頁 > 計(jì)算機(jī)網(wǎng)絡(luò) >
編程語言與程序設(shè)計(jì)
> Scala Functional Programming Patterns最新章節(jié)目錄
舉報(bào)

會員
Scala Functional Programming Patterns
最新章節(jié):
Index
IfyouhavedoneJavaprogrammingbeforeandhaveabasicknowledgeofScalaanditssyntax,thenthisbookisanidealchoicetohelpyoutounderstandthecontext,thetraditionaldesignpatternapplicable,andtheScalaway.Havingpreviousknowledgeofdesignpatternswillhelp,thoughitisnotstrictlynecessary.
目錄(118章)
倒序
- 封面
- 版權(quán)頁
- Credits
- About the Author
- Aknowledgement
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Grokking the Functional Way
- Abstractions
- Concise expression
- Functions
- Immutable
- Referential transparency
- The problem – grouping continuous integers
- Scala idioms
- Patterns and those aha! moments
- Summary
- Chapter 2. Singletons Factories and Builders
- Singletons – being one and only one
- Null Objects – singletons in another garb
- Scala singletons
- Builders
- Summary
- Chapter 3. Recursion and Chasing your Own Tail
- Recursive structures
- Pattern matching
- Tail recursion to the rescue
- Getting the nth element of a list
- An expression parser
- Persistent data structures
- Two forms of recursion
- Summary
- Chapter 4. Lazy Sequences – Being Lazy Being Good
- Illusion and reality – the proxy pattern
- Hibernate's lazy loading
- Lazy val – calling by need
- Infinite sequences – Scala streams
- Recursive streams
- Memoization and the flyweight pattern
- Call by name
- Streams are collections
- Sieve of Eratosthenes
- A view to a collection
- Summary
- Chapter 5. Taming Multiple Inheritance with Traits
- The iterator design pattern
- Interfaces as types
- The dreaded diamond
- Traits – Scala's rich interfaces
- Mix-ins – rich interfaces
- Frills and thrills – the decorator pattern
- Scala's easy and breezy decorations – stackable modifications
- Dependencies injection pattern
- A taste of the cake pattern
- Sealed traits
- Defeating the dreaded diamond
- Summary
- Chapter 6. Currying Favors with Your Code
- Functions as first-class values
- Roping in a scope
- Local functions – hiding and biding their time
- The underscore – Scala's Swiss army knife
- A taste of the curry
- The loan pattern
- Serving the curry
- Frills and thrills – decorators again
- Wrapping it up
- Summary
- Chapter 7. Of Visitors and Chains of Responsibilities
- A tale of two hierarchies
- The Visitor pattern
- Partial functions
- The chain of responsibility
- Summary
- Chapter 8. Traversals – Mapping/Filtering/Folding/Reducing
- Iterating the Scala way
- A validation problem
- Foreach–sugary sweetener
- Monads
- Reduce
- Summary
- Chapter 9. Higher Order Functions
- The strategy design pattern
- A strategy in Scala land
- Functors
- Monads
- FlatMap
- Monoids
- An inverted index
- Pipes and filters
- Pipes and filters – the Scala version
- It is a Monoid
- Lazy collections
- Summary
- Chapter 10. Actors and Message Passing
- The recursive grep
- The producer/consumer pattern
- Threads – masters and slaves
- Events
- Immutability is golden
- Akka actors take the stage
- Summary
- Chapter 11. It's a Paradigm Shift
- Verbosity
- Sorting it out!
- Functional error handling
- Threads and futures
- Parser combinators
- Summary
- Index 更新時(shí)間:2021-07-30 09:44:45
推薦閱讀
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- 工程軟件開發(fā)技術(shù)基礎(chǔ)
- Java面向?qū)ο筌浖_發(fā)
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(微課版)
- 程序員數(shù)學(xué):用Python學(xué)透線性代數(shù)和微積分
- Visual Basic學(xué)習(xí)手冊
- C語言程序設(shè)計(jì)案例精粹
- Java面向?qū)ο蟪绦蛟O(shè)計(jì)
- Mobile Device Exploitation Cookbook
- Learning Apache Cassandra
- Spring MVC+MyBatis開發(fā)從入門到項(xiàng)目實(shí)踐(超值版)
- Arduino Wearable Projects
- 面向?qū)ο蟪绦蛟O(shè)計(jì)及C++(第3版)
- Java EE互聯(lián)網(wǎng)輕量級框架整合開發(fā):SSM+Redis+Spring微服務(wù)(上下冊)
- Python接口自動(dòng)化測試
- Go底層原理與工程化實(shí)踐
- Vue.js 3移動(dòng)應(yīng)用開發(fā)實(shí)戰(zhàn)
- Python自動(dòng)化測試教程
- AWS Administration:The Definitive Guide
- VMware NSX Network Essentials
- Python科學(xué)與工程數(shù)據(jù)分析實(shí)戰(zhàn)
- Java 9 Data Structures and Algorithms
- Go語言學(xué)習(xí)指南:慣例模式與編程實(shí)踐
- React Native By Example
- Deploying Microsoft System Center Configuration Manager
- Jenkins Essentials(Second Edition)
- 游戲概論
- Java 9 High Performance
- J2EE應(yīng)用開發(fā)詳解