The Perl 6 Recipes book (Canceled)
The Perl 6 Recipes book (Canceled)
I am willing to write the Perl 6 Recipes, a book of recipes of how to solve the most common tasks in the Perl 6 programming language.
I am willing to write the Perl 6 Recipes, a book of recipes of how to solve the most common tasks in the Perl 6 programming language. Read more
Perl 6 is here. The new programming language is ready to be used in production. For a great start, you need to know how to program the most common tasks, and how to do that efficiently.
This book, The Perl 6 Recipes is a cookbook, a collection of recipes covering the whole range of possible applications from the text input and output through mathematical calculations to using regular expressions to parallel programming.
Although Perl 6 in its modern state is a new programming language, we already have 6 books available. They range from introductions for the beginners both to programming and to Perl 6 to learning the language through following educational tasks and problems.
The list includes three books written by me: Perl 6 at a Glance — an introduction into Perl 6 in 150 pages, Perl 6 Deep Dive — a complete textbook in 400 pages, and Using Perl 6 — a book with 100 programming challenges solved in Perl 6.
Now, I want to write something bigger — the Perl 6 Recipes — a book that shows how to do things in Perl 6 from elementary things such as swapping two values without temporary variables to advanced materials such as creating a multi-threaded web server.
The content structure of the new book will be partially based on the chapter list of the Perl Cookbook (meaning the Perl 5 Cookbook) — a well-known book with Perl 5 recipes: Strings, Numbers, Dates and Times, Arrays, Hashes, Pattern Matching, File Access, File Contents, Directories, Subroutines, References and Records, Packages, Libraries, and Modules, Classes and Objects, Database Access, Interactivity, Process Management and Communication, Sockets, and Internet Services. Some outdated material such as working with mod_perl will be excluded and replaced with modern approaches.
For the Perl 6 language, some of the above topics need extra sub-chapters, for example, for the new Regexes and Grammars, which were not there in Perl 5. Or new Classes, which is a whole new world in Perl 6. Some topics, such as working with operators, require many more pages now than were needed for Perl 5.
In addition, a few new chapters will appear: Exceptions, Concurrent and Parallel Programming, Functional Programming, and Functional Reactive Programming.
I was writing Using Perl 6 with the idea that it will be a prototype of the Perl 6 Cookbook: each section solves a clearly and isolated problem and demonstrates the most compact solution; whenever possible, more than one variant is proposed.
My current plan is to have 400-500 pages ready by Summer 2018. The goal of this Kickstarter campaign is to make sure I will have enough time to finish the book so that I don't have to worry about how to earn for life for this period.
The book will either be printed by DeepText or by another publishing house, with which I have a preliminary agreement. There is also an agreement with a developer of the Perl 6 compiler to review the contents of the book and to ensure that the proposed code is the best we can design,
Risks and challenges
Writing a book is an extremely challenging project. Although from the technical perspective if you write only three pages a day, you get a 200-page book in only two months, on the practical side this is not that simple.
On the other side, I have written three Perl 6 books, varying from 150 to 400 pages, and now know some secrets of productive writing.
Both the Perl 6 specification and the compiler are quite stable now; it means that the material from the book will not be outdated for a long time.Learn about accountability on Kickstarter
- (45 days)