Scala Cookbook: Recipes for Object-Oriented and Functional Programming (Paperback)
暫譯: Scala 食譜:物件導向與函數式程式設計的範例 (平裝本)

Alvin Alexander

買這商品的人也買了...

商品描述

Save time and trouble when using Scala to build object-oriented, functional, and concurrent applications. With more than 250 ready-to-use recipes and 700 code examples, this comprehensive cookbook covers the most common problems you’ll encounter when using the Scala language, libraries, and tools. It’s ideal not only for experienced Scala developers, but also for programmers learning to use this JVM language.

Author Alvin Alexander (creator of DevDaily.com) provides solutions based on his experience using Scala for highly scalable, component-based applications that support concurrency and distribution. Packed with real-world scenarios, this book provides recipes for:

  • Strings, numeric types, and control structures
  • Classes, methods, objects, traits, and packaging
  • Functional programming in a variety of situations
  • Collections covering Scala's wealth of classes and methods
  • Concurrency, using the Akka Actors library
  • Using the Scala REPL and the Simple Build Tool (SBT)
  • Web services on both the client and server sides
  • Interacting with SQL and NoSQL databases
  • Best practices in Scala development

商品描述(中文翻譯)

節省使用 Scala 建立物件導向、函數式和併發應用程式時的時間和麻煩。本書提供超過 250 個現成的範例和 700 個程式碼示例,全面涵蓋您在使用 Scala 語言、函式庫和工具時會遇到的最常見問題。這本書不僅適合經驗豐富的 Scala 開發者,也適合學習使用這個 JVM 語言的程式設計師。

作者 Alvin Alexander(DevDaily.com 的創建者)根據他使用 Scala 開發高度可擴展、基於元件的應用程式的經驗提供解決方案,這些應用程式支持併發和分佈。這本書充滿了真實世界的情境,提供以下範例:

- 字串、數值類型和控制結構
- 類別、方法、物件、特徵和包裝
- 在各種情況下的函數式程式設計
- 涵蓋 Scala 豐富類別和方法的集合
- 使用 Akka Actors 函式庫的併發
- 使用 Scala REPL 和簡單建置工具 (SBT)
- 客戶端和伺服器端的網路服務
- 與 SQL 和 NoSQL 資料庫互動
- Scala 開發的最佳實踐