Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

Think Raku (Think Perl 6)

How to Think Like a Computer Scientist

by Allen Downey, Laurent Rosenfeld

Think Raku (Think Perl 6)

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

The title of this book was originally Think Perl 6, but since Perl 6 has been renamed Raku, we have also changed the title of the book.

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 Raku (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 Raku (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.

This open book is licensed under a Creative Commons License (CC BY-NC). You can download Think Raku (Think Perl 6) ebook for free in PDF format (2.4 MB).

Table of Contents

Preface
 
Part I
Starting with the Basics
1
The Way of the Program
2
Functions
3
Variables, Expressions and Statements
4
Loops, Conditionals, and Recursion
5
Fruitful Subroutines
6
Iteration
7
Strings
8
Case Study: Word Play
9
Arrays and Lists
10
Hashes
11
Case Study: Data Structure Selection
Part II
Moving Forward
12
Classes and Objects
13
Regexes and Grammars
14
Functional Programming in Raku
15
Some Final Advice
Appendix A
Solutions to the Exercises

Book Details

Title
Think Raku (Think Perl 6)
Subject
Computer Science
Publisher
O'Reilly Media, Green Tea Press
Published
2017
Pages
431
Edition
2
Language
English
ISBN13
9781491980521
ISBN10
1491980524
ISBN13 Digital
9781491980552
ISBN10 Digital
1491980559
PDF Size
2.4 MB
License
CC BY-NC

Book Hashtags

Related Books

The Legacy of Felix Klein
This book provides an overview of Felix Klein's ideas, highlighting developments in university teaching and school mathematics related to Klein's thoughts, stemming from the last century. It discusses the meaning, importance and the legacy of Klein's ideas today and in the future, within an international, global context. Presenting e...
Computational Thinking Education
This book offers a comprehensive guide, covering every important aspect of computational thinking education. It provides an in-depth discussion of computational thinking, including the notion of perceiving computational thinking practices as ways of mapping models from the abstraction of data and process structures to natural phenomena. Further, it...
Think Python
If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language a step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. This second edition and its supporting code have been updated for...
Early Geometrical Thinking in the Environment of Patterns, Mosaics and Isometries
This book discusses the learning and teaching of geometry, with a special focus on kindergarten and primary education. It examines important new trends and developments in research and practice, and emphasizes theoretical, empirical and developmental issues. Further, it discusses various topics, including curriculum studies and implementation, spat...
The Models of Engaged Learning and Teaching
This book provides a practical philosophy for promoting students' sophisticated thinking from Early Childhood to PhD in ways that explicitly interconnect across the years of education. It will help teachers, academics and the broader learning and teaching community to understand and implement these connections by introducing a conceptual frame...
Raku One-Liners
You are reading a book about the Raku programming language. This language has appeared as a rename of Perl 6 in October 2019. Like its parent, Perl 5, the Raku language keeps the spirit of being a powerful tool in many areas, from devops programs for configuration management through different command-line applications to concurrent web servers. ...