Think Perl 6: How to Think Like a Computer Scientist


Think Perl 6: How to Think Like a Computer Scientist
by Laurent Rosenfeld and Allen B. Downey
pages 页数: 453 pages
Publisher Finelybook 出版社: O′Reilly (30 Jun. 2017)
Language 语言: English
ISBN-10 书号: 1491980559
ISBN-13 书号: 9781491980552
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
Contents
Chapter 1 The Way of the Program
Chapter 2 Variables,Expressions,and Statements
Chapter 3 Functions and Subroutines
Chapter 4 Conditionals and Recursion
Chapter 5 Fruitful Subroutines
Chapter 6 Iteration
Chapter 7 Strings
Chapter 8 Case Study: Word Play
Chapter 9 Arrays and Lists
Chapter 10 Hashes
Chapter 11 Case Study: Data Structure Selection
Chapter 12 Classes and Objects
Chapter 13 Regexes and Grammars
Chapter 14 Functional Programming
Chapter 15 Some Final Advice
Appendix A Solutions to the Exercises
想要像计算机科学家一样学习如何编程和思考?这个实用指南让您在Perl 6,即流行的Perl编程语言的妹妹的帮助下开始编程。适合初学者,这本动手书包括超过100个练习与多个解决方案,以及超过1,000个代码示例,所以你可以快速练习你学到的东西。有经验的程序员,特别是那些知道Perl 5的程序员,也将受益匪浅。
Think Perl分为两部分,从每个程序员需要知道的基本概念开始,然后重点介绍不同的编程范例和一些更先进的编程技术。本书有两个学期的经验教训,是高校计算机科学初学者的完美教学工具。
学习基本概念,包括变量,表达式,语句,函数,条件,递归和循环
了解常用的基本数据结构和最有用的算法
深入面向对象编程,并学习如何构建自己的类型和方法来扩展语言
使用语法和正则表达式分析文本内容
了解功能性编程如何帮助您使代码更简单,更具表现力
目录
第一章节目的方式
第2章变量,表达式和语句
第3章功能和子程序
第四章条件和递归
第5章有成果的子程序
第六章迭代
第七章字符串
第八章案例研究: Word Play
第9章数组和列表
第10章哈希
第11章案例研究: 数据结构选择
第12章类和对象
第13章正则表达式和语法
第14章功能编程
第15章一些最终建议
附录A练习的解决方案

下载地址 Download
打赏
未经允许不得转载:finelybook » Think Perl 6: How to Think Like a Computer Scientist

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏