Normal view MARC view ISBD view

Think Perl 6 how to think like a computer scientist / Laurent Rosenfeld with Allen B. Downey.

By: Rosenfeld, Laurent [author.].
Contributor(s): Downey, Allen B [author.] | Ohio Library and Information Network.
Sebastopol, CA : O'Reilly Media, 2017Description: 444 p.ISBN: 9781491980552.Other title: Think Perl six.Subject(s): Perl (Computer program language)Genre/Form: Print books.
Contents:
Copyright; Table of Contents; Preface; The Aim of This Book; The History of This Book; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; Contributor List; Part I. Starting with the Basics; Chapter 1. The Way of the Program; What Is a Program?; Running Perl 6; The First Program; Arithmetic Operators; Values and Types; Formal and Natural Languages; Debugging; Glossary; Exercises; Chapter 2. Variables, Expressions, and Statements; Assignment Statements; Variable Names; Expressions and Statements; Script Mode; One-Liner Mode
Order of OperationsString Operations; Comments; Debugging; Glossary; Exercises; Chapter 3. Functions; Function Calls; Functions and Methods; Math Functions; Composition; Adding New Functions (a.k.a. Subroutines); Definitions and Uses; Flow of Execution; Parameters and Arguments; Variables and Parameters Are Local; Stack Diagrams; Fruitful Functions and Void Functions; Function Signatures; Immutable and Mutable Parameters; Functions and Subroutines as First-Class Citizens; Why Functions and Subroutines?; Debugging; Glossary; Exercises; Chapter 4. Loops, Conditionals, and Recursion
Integer Division and ModuloBoolean expressions; Logical Operators; Conditional Execution; Alternative Execution; Chained Conditionals; Nested Conditionals; if Conditionals as Statement Modifiers; Unless Conditional Statement; for Loops; Recursion; Stack Diagrams for Recursive Subroutines; Infinite Recursion; Keyboard Input; Program Arguments and the MAIN Subroutine; Debugging; Glossary; Exercises; Chapter 5. Fruitful Subroutines; Return Values; Incremental Development; Composition; Boolean Functions; A Complete Programming Language; More Recursion; Leap of Faith; One More Example
Checking TypesMulti Subroutines; Debugging; Glossary; Exercises; Chapter 6. Iteration; Assignment Versus Equality; Reassignment; Updating Variables; The while Statement; Local Variables and Variable Scoping; Control Flow Statements (last, next, etc.); Square Roots; Algorithms; Debugging; Glossary; Exercises; Chapter 7. Strings; A String Is a Sequence; Common String Operators; String Length; Searching for a Substring Within the String; Extracting a Substring from a String; A Few Other Useful String Functions or Methods; String Traversal with a while or for Loop; Looping and Counting
Regular Expressions (Regexes)Using Regexes; Building your Regex Patterns; Literal Matching; Wildcards and Character Classes; Quantifiers; Anchors and Assertions; Alternation; Grouping and Capturing; Adverbs (a.k.a. Modifiers); Exercises on Regexes; Putting It All Together; Extracting Dates; Extracting an IP Address; Substitutions; The subst Method; The s/search/replace/ Construct; Using Captures; Adverbs; Debugging; Glossary; Exercises; Chapter 8. Case Study: Word Play; Reading from and Writing to Files; Reading Word Lists; Exercises; Search; Words Longer Than 20 Characters (Solution)
    average rating: 0.0 (0 votes)
Current location Call number Status Date due Barcode Item holds
On Shelf QA76.73 .P34 2017 (Browse shelf) Available AU00000000010404
Total holds: 0

Copyright; Table of Contents; Preface; The Aim of This Book; The History of This Book; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; Contributor List; Part I. Starting with the Basics; Chapter 1. The Way of the Program; What Is a Program?; Running Perl 6; The First Program; Arithmetic Operators; Values and Types; Formal and Natural Languages; Debugging; Glossary; Exercises; Chapter 2. Variables, Expressions, and Statements; Assignment Statements; Variable Names; Expressions and Statements; Script Mode; One-Liner Mode

Order of OperationsString Operations; Comments; Debugging; Glossary; Exercises; Chapter 3. Functions; Function Calls; Functions and Methods; Math Functions; Composition; Adding New Functions (a.k.a. Subroutines); Definitions and Uses; Flow of Execution; Parameters and Arguments; Variables and Parameters Are Local; Stack Diagrams; Fruitful Functions and Void Functions; Function Signatures; Immutable and Mutable Parameters; Functions and Subroutines as First-Class Citizens; Why Functions and Subroutines?; Debugging; Glossary; Exercises; Chapter 4. Loops, Conditionals, and Recursion

Integer Division and ModuloBoolean expressions; Logical Operators; Conditional Execution; Alternative Execution; Chained Conditionals; Nested Conditionals; if Conditionals as Statement Modifiers; Unless Conditional Statement; for Loops; Recursion; Stack Diagrams for Recursive Subroutines; Infinite Recursion; Keyboard Input; Program Arguments and the MAIN Subroutine; Debugging; Glossary; Exercises; Chapter 5. Fruitful Subroutines; Return Values; Incremental Development; Composition; Boolean Functions; A Complete Programming Language; More Recursion; Leap of Faith; One More Example

Checking TypesMulti Subroutines; Debugging; Glossary; Exercises; Chapter 6. Iteration; Assignment Versus Equality; Reassignment; Updating Variables; The while Statement; Local Variables and Variable Scoping; Control Flow Statements (last, next, etc.); Square Roots; Algorithms; Debugging; Glossary; Exercises; Chapter 7. Strings; A String Is a Sequence; Common String Operators; String Length; Searching for a Substring Within the String; Extracting a Substring from a String; A Few Other Useful String Functions or Methods; String Traversal with a while or for Loop; Looping and Counting

Regular Expressions (Regexes)Using Regexes; Building your Regex Patterns; Literal Matching; Wildcards and Character Classes; Quantifiers; Anchors and Assertions; Alternation; Grouping and Capturing; Adverbs (a.k.a. Modifiers); Exercises on Regexes; Putting It All Together; Extracting Dates; Extracting an IP Address; Substitutions; The subst Method; The s/search/replace/ Construct; Using Captures; Adverbs; Debugging; Glossary; Exercises; Chapter 8. Case Study: Word Play; Reading from and Writing to Files; Reading Word Lists; Exercises; Search; Words Longer Than 20 Characters (Solution)

Available to OhioLINK libraries.

Copyright © 2020 Alfaisal University Library. All Rights Reserved.
Tel: +966 11 2158948 Fax: +966 11 2157910 Email:
librarian@alfaisal.edu