Raku Fundamentals: A Primer with Examples, Projects, and Case Studies
暫譯: Raku 基礎:範例、專案與案例研究入門

Lenz, Moritz

  • 出版商: Apress
  • 出版日期: 2020-09-06
  • 定價: $1,650
  • 售價: 8.0$1,320
  • 語言: 英文
  • 頁數: 186
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484261089
  • ISBN-13: 9781484261088
  • 相關分類: R 語言Object-oriented程式語言
  • 立即出貨 (庫存=1)

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

商品描述

Gain the skills to begin developing Raku applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You'll learn enough to get started building with Raku, using Raku's gradual typing, handy object orientated features, powerful parsing capabilities, and human-usable concurrency. This book has been updated to include the latest version of Raku based upon the Perl 6.d major version which includes over 3,400 new commits in its specification.

After a short introduction, each chapter develops a small example project, explaining the Raku features used. When the example is done, you'll explore another aspect, such as optimizing further for readability or testing the code. Along the way you'll see Raku basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing.

 

When you've mastered the basics, Raku Fundamentals moves onto more advanced topics to give you a deeper understanding of the language. You'll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool.

What You Will Learn

  • Get coding with latest version of Raku
  • Work on several hands-on examples and projects
  • Integrate Python libraries into your Raku-based programs
  • Parse INI files using regexes and grammars
  • Build a date-time converter
  • Carry out refactoring and other automated tests

Who This Book Is For

If you already know one or more programming languages, and want to learn about Raku, then this book is for you.

商品描述(中文翻譯)

獲得從基礎開始開發 Raku 應用程式的技能,這本實用的精簡書籍包含了 Perl 創始人 Larry Wall 的前言。您將學習足夠的知識來開始使用 Raku 進行開發,利用 Raku 的漸進式類型、方便的物件導向特性、強大的解析能力以及人性化的併發性。本書已更新至基於 Perl 6.d 主要版本的最新 Raku 版本,該版本在其規範中包含超過 3,400 個新的提交。

在簡短的介紹之後,每一章都會開發一個小範例專案,解釋所使用的 Raku 特性。當範例完成後,您將探索另一個方面,例如進一步優化可讀性或測試代碼。在這個過程中,您將學習 Raku 的基本概念,例如變數和作用域;子例程;類別和物件;正則表達式;以及代碼測試。

當您掌握了基礎知識後,《Raku Fundamentals》將進入更高級的主題,以便讓您對這門語言有更深入的理解。您將學習到如何處理持久性存儲、如何生成良好的錯誤訊息,以及如何編寫複雜的應用程式,例如檔案和目錄使用圖以及 Unicode 搜尋工具。

您將學到的內容:

- 使用最新版本的 Raku 進行編碼
- 參與多個實作範例和專案
- 將 Python 函式庫整合到您的 Raku 基礎程式中
- 使用正則表達式和文法解析 INI 檔案
- 建立日期時間轉換器
- 執行重構和其他自動化測試

本書適合對象:

如果您已經知道一種或多種程式語言,並想學習 Raku,那麼這本書就是為您而寫的。

作者簡介

Moritz Lenz is a Perl 6, now Raku, core developer. He has contributed significantly to the official test suite, the Rakudo Perl compiler, and is the initiator of the official Raku documentation project. He has also authored several modules, and runs infrastructure for the Raku community. In his day job, he develops Perl 5 and Python code, and maintains a continuous delivery system for his employer.

作者簡介(中文翻譯)

Moritz Lenz 是 Perl 6(現在稱為 Raku)的核心開發者。他對官方測試套件、Rakudo Perl 編譯器做出了重要貢獻,並且是官方 Raku 文檔項目的發起人。他還撰寫了幾個模組,並為 Raku 社群運行基礎設施。在他的日常工作中,他開發 Perl 5 和 Python 代碼,並為他的雇主維護持續交付系統。