舉報

會員
Scala Functional Programming Patterns
最新章節:
Index
IfyouhavedoneJavaprogrammingbeforeandhaveabasicknowledgeofScalaanditssyntax,thenthisbookisanidealchoicetohelpyoutounderstandthecontext,thetraditionaldesignpatternapplicable,andtheScalaway.Havingpreviousknowledgeofdesignpatternswillhelp,thoughitisnotstrictlynecessary.
目錄(118章)
倒序
- 封面
- 版權頁
- 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 更新時間:2021-07-30 09:44:45
推薦閱讀
- Java 開發從入門到精通(第2版)
- 深入淺出WPF
- ASP.NET Core Essentials
- Windows Presentation Foundation Development Cookbook
- 精通Linux(第2版)
- 大學計算機基礎實驗指導
- C++反匯編與逆向分析技術揭秘(第2版)
- Visual Basic程序設計習題與上機實踐
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Deep Learning with R Cookbook
- C++ System Programming Cookbook
- Python Digital Forensics Cookbook
- 深度學習入門:基于Python的理論與實現
- Drupal 8 Development Cookbook(Second Edition)
- ASP.NET本質論
- C語言程序設計
- PHP高性能開發:基礎、框架與項目實戰
- Python程序設計教程
- 看漫畫學Python:有趣、有料、好玩、好用(全彩版)
- Java語言案例教程
- Web前端開發精品課 HTML CSS JavaScript基礎教程
- Beginning C++ Programming
- 大數據存儲技術
- Python Microservices Development
- Learning BeagleBone Python Programming
- Practical Test:Driven Development using C# 7
- Building a Home Security System with Arduino
- Learn Python in 7 Days
- 白話C語言
- Building Machine Learning Systems with Python