相關主題
商品描述
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 編程語言的妹妹。這本書非常適合初學者,包含超過 100 個練習題和多種解法,以及超過 1,000 個代碼範例,讓您能夠快速練習所學的知識。經驗豐富的程序員,尤其是那些熟悉 Perl 5 的人,也會受益匪淺。
《Think Perl 6》分為兩個部分,首先介紹每位程序員都需要了解的基本概念,然後專注於不同的編程範式和一些更高級的編程技術。這本書包含兩學期的課程,是大學和學院計算機科學初學者的完美教學工具。
- 學習基本概念,包括變量、表達式、語句、函數、條件語句、遞歸和循環
- 理解常用的基本數據結構和最有用的算法
- 深入了解面向對象編程,學習如何構建自己的類型和方法以擴展語言
- 使用語法和正則表達式來分析文本內容
- 探索函數式編程如何幫助您使代碼更簡單且更具表達力