Think Perl 6: How to Think Like a Computer Scientist

Laurent Rosenfeld, Allen B. Downey

  • 出版商: O'Reilly
  • 出版日期: 2017-06-27
  • 定價: $1,910
  • 售價: 8.0$1,528
  • 語言: 英文
  • 頁數: 466
  • 裝訂: Paperback
  • ISBN: 1491980559
  • ISBN-13: 9781491980552
  • 相關分類: Perl 程式語言
  • 立即出貨 (庫存 < 4)

商品描述

Want to learn how to program and think like a computer scientist? This practical guide gets you started on your programming journey with the help of Perl 6, the younger sister of the popular Perl programming language. Ideal for beginners, this hands-on book includes over 100 exercises with multiple solutions, and more than 1,000 code examples so you can quickly practice what you learn. Experienced programmers—especially those who know Perl 5—will also benefit.

Divided into two parts, Think Perl 6 starts with basic concepts that every programmer needs to know, and then focuses on different programming paradigms and some more advanced programming techniques. With two semesters’ worth of lessons, this book is the perfect teaching tool for computer science beginners in colleges and universities.

  • Learn basic concepts including variables, expressions, statements, functions, conditionals, recursion, and loops
  • Understand commonly used basic data structures and the most useful algorithms
  • Dive into object-oriented programming, and learn how to construct your own types and methods to extend the language
  • Use grammars and regular expressions to analyze textual content
  • Explore how functional programming can help you make your code simpler and more expressive

商品描述(中文翻譯)

想學習如何程式設計並像電腦科學家一樣思考嗎?這本實用指南將以 Perl 6 為助力,讓你開始你的程式設計之旅。Perl 6 是受歡迎的 Perl 程式語言的妹妹,非常適合初學者。這本實踐性的書籍包含超過 100 個練習題,並提供多種解決方案,還有超過 1,000 個程式碼範例,讓你能夠快速練習所學。有經驗的程式設計師,特別是那些熟悉 Perl 5 的人,也會受益於這本書。

《Think Perl 6》分為兩部分,首先介紹每個程式設計師都需要了解的基本概念,然後專注於不同的程式設計範式和一些更高級的程式設計技巧。這本書提供了兩個學期的課程內容,是大學和學院的電腦科學初學者的完美教學工具。

本書內容包括:
- 學習基本概念,包括變數、表達式、語句、函數、條件語句、遞迴和迴圈
- 理解常用的基本資料結構和最有用的演算法
- 深入探討物件導向程式設計,學習如何建立自己的類型和方法以擴展語言
- 使用語法和正則表達式分析文字內容
- 探索函數式程式設計如何幫助你使代碼更簡潔和表達力更強

以上是這本書的內容簡介。