Scala Cookbook: Recipes for Object-Oriented and Functional Programming (Paperback)

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和Simple Build Tool(SBT)
- 客戶端和服務器端的Web服務
- 與SQL和NoSQL數據庫的交互
- Scala開發的最佳實踐