Scala Cookbook: Recipes for Object-Oriented and Functional Programming

Alexander, Alvin

  • 出版商: O'Reilly
  • 出版日期: 2021-09-14
  • 定價: $2,640
  • 售價: 9.0$2,376
  • 語言: 英文
  • 頁數: 789
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1492051543
  • ISBN-13: 9781492051541
  • 相關分類: JVM 語言Object-oriented
  • 立即出貨 (庫存 < 3)

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

商品描述

Save time and trouble building object-oriented, functional, and concurrent applications with Scala 3. The latest edition of this comprehensive cookbook is packed with more than 250 ready-to-use recipes and 700 code examples to help you solve the most common problems when working with Scala and its popular libraries.

Whether you're working on web, big data, or distributed applications, this cookbook provides recipes based on real-world scenarios for experienced Scala developers and for programmers just learning to use this JVM language. Author Alvin Alexander includes practical solutions from his experience using Scala for highly scalable applications that support concurrency and distribution.

Recipes cover:

  • Strings, numbers, and control structures
  • Classes, methods, objects, traits, packaging, and imports
  • Functional programming in a variety of situations
  • Building Scala applications with sbt
  • Collections covering Scala's wealth of classes and methods
  • Actors and concurrency
  • List, array, map, set, and more
  • Files, processes, and command-line tasks
  • Web services and interacting with Java
  • Databases and persistence, data types and idioms

商品描述(中文翻譯)

節省時間和麻煩,使用Scala 3建立面向對象、函數式和並發應用程式。這本全面的食譜書的最新版本包含超過250個現成的食譜和700個程式碼範例,幫助您解決在使用Scala及其流行庫時遇到的最常見問題。

無論您是在開發網站、大數據還是分佈式應用程式,這本食譜書都提供了基於實際場景的解決方案,適用於有經驗的Scala開發人員和剛開始學習這個JVM語言的程式設計師。作者Alvin Alexander根據自己在使用Scala開發高度可擴展、支援並發和分佈式的應用程式的經驗,提供了實用的解決方案。

食譜涵蓋以下內容:

- 字串、數字和控制結構
- 類別、方法、物件、特徵、封裝和導入
- 在各種情況下進行函數式編程
- 使用sbt建立Scala應用程式
- 集合,包括Scala豐富的類別和方法
- 演員和並發
- 列表、陣列、映射、集合等
- 檔案、處理程序和命令行任務
- Web服務和與Java的互動
- 資料庫和持久化、資料類型和慣用法

作者簡介

Alvin Alexander took the circuitous route to software development. He managed to get a degree in Aerospace Engineering from Texas A&M University while all he wanted to do was play baseball. Once he became a practicing engineer he was volunteered to maintain the company's software applications, and quickly realized he liked it. As a result he ended up teaching himself Fortran, C, Unix and network administration, Perl, Java, Python, Ruby, Scala, and Kotlin. During this process he started a software consulting firm, grew it to fifteen people, sold it, and moved to Alaska. After returning to the "Lower 48" he self-published two books, How I Sold My Business: A Personal Diary, and A Survival Guide for New Consultants. Since then he has written three more books: Scala Cookbook; Functional Programming, Simplified; and Hello, Scala.

作者簡介(中文翻譯)

Alvin Alexander走了一條迂迴的路來到軟體開發的領域。儘管他只想打棒球,他還是成功地在德克薩斯A&M大學獲得了航空航天工程學位。當他成為一名實踐工程師後,他被要求維護公司的軟體應用程式,並迅速意識到他喜歡這個工作。因此,他開始自學Fortran、C、Unix和網路管理、Perl、Java、Python、Ruby、Scala和Kotlin。在這個過程中,他創辦了一家軟體諮詢公司,將其發展成了15人的團隊,並成功出售後搬到了阿拉斯加。在返回「下48州」後,他自行出版了兩本書,分別是《如何出售我的企業:一個個人日記》和《新顧問的生存指南》。此後,他又出版了另外三本書:《Scala Cookbook》、《簡化的函數式編程》和《你好,Scala》。