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

  • 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.

主站蜘蛛池模板: 邻水| 应用必备| 无锡市| 承德市| 徐闻县| 玛多县| 太湖县| 林甸县| 旌德县| 金堂县| 清水县| 屯门区| 凌源市| 霍邱县| 筠连县| 博湖县| 化德县| 二连浩特市| 开原市| 甘肃省| 皮山县| 南乐县| 建湖县| 博客| 陕西省| 荔浦县| 长葛市| 昌吉市| 南靖县| 太仆寺旗| 阳城县| 盐津县| 克什克腾旗| 仙居县| 永城市| 扶风县| 黑山县| 麻栗坡县| 海宁市| 巢湖市| 丹棱县|