官术网_书友最值得收藏!

  • Perl 6 Deep Dive
  • Andrew Shitov
  • 489字
  • 2021-07-03 00:05:37

What this book covers 

Chapter 1, What is Perl 6?, talks about the reasons why Perl 6 appeared, briefly describes the changes that happened since Perl 5, and explains how to install the compiler and run the first program, "Hello, World!".

Chapter 2, Writing Code, prepares you to write a Perl 6 code and explains how the source code is organized. It gives an overview of the Unicode support that Perl 6 offers to a programmer.

Chapter 3, Working with Variables and Built-In Data Types, takes you through the built-in types of the language and teaches you how to work with variables, such as simple scalars, arrays, and hashes, as well as composite data types.

Chapter 4, Working with Operators, covers the dozens of built-in operators in Perl 6 and introduces you to concepts such as meta-, cross-, and hyper-operators, which may be new for the Perl 5 programmers.

Chapter 5, Control Flow, explains the main elements to control the flow of programs in Perl 6, such as conditional checks and loops.

Chapter 6, Subroutines, covers the work with subroutines in Perl 6. It explains how to create and call a subroutine, how to describe its arguments and return types, and how to deal with anonymous and nested subroutines.

Chapter 7, Modules, talks about the topic of organizing code into modules and the ways of importing the module in a program.

Chapter 8, Object-Oriented Programming, introduces the concepts of inheritance, roles, and introspections, and gives information about using an object in code. It also discusses the object-oriented facilities of Perl 6. 

Chapter 9, Input and Output, is devoted to input and output in a console application and working with files and directories.

Chapter 10, Working with Exceptions, talks about exceptional situations that the program can face, for example, disk failure or broken connection to a database. Also, it shows how to create your own exceptions to control the behavior of the program.

Chapter 11, Regexes, describes the redesigned regular expressions, which was one of the keystones of Perl 5 and has become even more powerful in Perl 6.

Chapter 12, Grammars, introduces the new built-in tool that helps create a parser, a translator, or a compiler; a domain-specific language or even a programming language; or even a parser that can work with human languages.

Chapter 13, Concurrent Programming, describes that Perl 6’s built-in support of the concepts, which makes it easy to create an application that supports parallel and concurrent programming, such as threads, junctions, promises, and channels.

Chapter 14, Functional Programming, shows the ways in which you can use the functional programming style with Perl 6, including recursion, reduction, higher order functions, closures, currying, and lazy evaluations.

Chapter 15, Reactive Programming, talks about a particular topic of functional programming--event-driven programming. It explains how to work with supplies and taps and how to filter and transform the data streams.

主站蜘蛛池模板: 闽侯县| 淮滨县| 宜章县| 荃湾区| 钟祥市| 尼勒克县| 合水县| 灌南县| 吉水县| 洞口县| 台中市| 阿图什市| 离岛区| 习水县| 曲周县| 铅山县| 六安市| 蒙城县| 依兰县| 泉州市| 太白县| 雷山县| 阳山县| 瓮安县| 莱西市| 高安市| 天津市| 永寿县| 华安县| 竹北市| 乡城县| 炉霍县| 奉新县| 敦煌市| 砀山县| 两当县| 新余市| 和静县| 延安市| 阿鲁科尔沁旗| 孙吴县|