Mastering Ruby closures: a guide to blocks, procs, and lambdas
The road to Ruby mastery is paved with blocks, procs, and lambdas. To be a truly effective Ruby programmer, it's not enough just to understand these features - you need to know how to use them in practice. Discover how to write code that is elegant, expressive, and a joy to use, and gain a deep...
Gespeichert in:
Beteilige Person: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | Englisch |
Veröffentlicht: |
[Place of publication not identified]
Pragmatic Bookshelf
2017
|
Ausgabe: | Version: P1.0 (August 2017) |
Schriftenreihe: | The pragmatic bookshelf
|
Schlagwörter: | |
Links: | https://learning.oreilly.com/library/view/-/9781680502909/?ar |
Zusammenfassung: | The road to Ruby mastery is paved with blocks, procs, and lambdas. To be a truly effective Ruby programmer, it's not enough just to understand these features - you need to know how to use them in practice. Discover how to write code that is elegant, expressive, and a joy to use, and gain a deep understanding of these concepts so you can work with third-party gems and libraries more easily. Whether you are completely new to Ruby or a seasoned Rubyist, you'll find good use for these concepts in your code. Ruby developers use the Ruby language as the yardstick for expressivity, flexibility, and elegance - and a large part of this is due to blocks, lambdas, and procs. These language features make Ruby one of the most beautiful and pleasant languages to work with. Learn how to understand and craft code that will take you closer to Ruby mastery. Start with the basics of closures and then dive into blocks, as you learn about the patterns that involve blocks, and how they are used in real-world code. Then create and use procs and lambdas. Finally, build your own lazy enumerables with advanced Ruby features such as fibers and generators. Along the way, work with computer science concepts such as closures, free variables and first-class functions . Spot a closure easily. Identify the patterns where you can effectively use blocks and re-implement common standard library methods using them. Trace through how Symbol#to_proc works and find out the different ways of calling procs. This succinct guide takes you through the different kinds of Ruby closures with engaging examples, and each chapter comes with exercises that test and challenge your understanding. When you finish this book, blocks, procs, and lambdas will have become an integral part of your Ruby toolbox. What You Need: Ruby 2.x and a basic familiarity with Ruby. |
Beschreibung: | Includes bibliographical references. - Online resource; title from title page (Safari, viewed December 5, 2017) |
Umfang: | 1 Online-Ressource (1 volume) illustrations |
ISBN: | 9781680502909 1680502905 |
Internformat
MARC
LEADER | 00000cam a22000002 4500 | ||
---|---|---|---|
001 | ZDB-30-ORH-047668636 | ||
003 | DE-627-1 | ||
005 | 20240228120358.0 | ||
007 | cr uuu---uuuuu | ||
008 | 191023s2017 xx |||||o 00| ||eng c | ||
020 | |a 9781680502909 |c electronic bk. |9 978-1-68050-290-9 | ||
020 | |a 1680502905 |c electronic bk. |9 1-68050-290-5 | ||
035 | |a (DE-627-1)047668636 | ||
035 | |a (DE-599)KEP047668636 | ||
035 | |a (ORHE)9781680502909 | ||
035 | |a (DE-627-1)047668636 | ||
040 | |a DE-627 |b ger |c DE-627 |e rda | ||
041 | |a eng | ||
082 | 0 | |a 005.117 |2 23 | |
100 | 1 | |a Hao, Benjamin Tan Wei |e VerfasserIn |4 aut | |
245 | 1 | 0 | |a Mastering Ruby closures |b a guide to blocks, procs, and lambdas |c by Benjamin Tan Wei Hao |
246 | 3 | 3 | |a Guide to blocks, procs, and lambdas |
250 | |a Version: P1.0 (August 2017) | ||
264 | 1 | |a [Place of publication not identified] |b Pragmatic Bookshelf |c 2017 | |
300 | |a 1 Online-Ressource (1 volume) |b illustrations | ||
336 | |a Text |b txt |2 rdacontent | ||
337 | |a Computermedien |b c |2 rdamedia | ||
338 | |a Online-Ressource |b cr |2 rdacarrier | ||
490 | 0 | |a The pragmatic bookshelf | |
500 | |a Includes bibliographical references. - Online resource; title from title page (Safari, viewed December 5, 2017) | ||
520 | |a The road to Ruby mastery is paved with blocks, procs, and lambdas. To be a truly effective Ruby programmer, it's not enough just to understand these features - you need to know how to use them in practice. Discover how to write code that is elegant, expressive, and a joy to use, and gain a deep understanding of these concepts so you can work with third-party gems and libraries more easily. Whether you are completely new to Ruby or a seasoned Rubyist, you'll find good use for these concepts in your code. Ruby developers use the Ruby language as the yardstick for expressivity, flexibility, and elegance - and a large part of this is due to blocks, lambdas, and procs. These language features make Ruby one of the most beautiful and pleasant languages to work with. Learn how to understand and craft code that will take you closer to Ruby mastery. Start with the basics of closures and then dive into blocks, as you learn about the patterns that involve blocks, and how they are used in real-world code. Then create and use procs and lambdas. Finally, build your own lazy enumerables with advanced Ruby features such as fibers and generators. Along the way, work with computer science concepts such as closures, free variables and first-class functions . Spot a closure easily. Identify the patterns where you can effectively use blocks and re-implement common standard library methods using them. Trace through how Symbol#to_proc works and find out the different ways of calling procs. This succinct guide takes you through the different kinds of Ruby closures with engaging examples, and each chapter comes with exercises that test and challenge your understanding. When you finish this book, blocks, procs, and lambdas will have become an integral part of your Ruby toolbox. What You Need: Ruby 2.x and a basic familiarity with Ruby. | ||
650 | 0 | |a Ruby (Computer program language) | |
650 | 4 | |a Ruby (Langage de programmation) | |
650 | 4 | |a Ruby (Computer program language) | |
966 | 4 | 0 | |l DE-91 |p ZDB-30-ORH |q TUM_PDA_ORH |u https://learning.oreilly.com/library/view/-/9781680502909/?ar |m X:ORHE |x Aggregator |z lizenzpflichtig |3 Volltext |
912 | |a ZDB-30-ORH | ||
912 | |a ZDB-30-ORH | ||
951 | |a BO | ||
912 | |a ZDB-30-ORH | ||
049 | |a DE-91 |
Datensatz im Suchindex
DE-BY-TUM_katkey | ZDB-30-ORH-047668636 |
---|---|
_version_ | 1821494864706011136 |
adam_text | |
any_adam_object | |
author | Hao, Benjamin Tan Wei |
author_facet | Hao, Benjamin Tan Wei |
author_role | aut |
author_sort | Hao, Benjamin Tan Wei |
author_variant | b t w h btw btwh |
building | Verbundindex |
bvnumber | localTUM |
collection | ZDB-30-ORH |
ctrlnum | (DE-627-1)047668636 (DE-599)KEP047668636 (ORHE)9781680502909 |
dewey-full | 005.117 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.117 |
dewey-search | 005.117 |
dewey-sort | 15.117 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | Version: P1.0 (August 2017) |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>03423cam a22004212 4500</leader><controlfield tag="001">ZDB-30-ORH-047668636</controlfield><controlfield tag="003">DE-627-1</controlfield><controlfield tag="005">20240228120358.0</controlfield><controlfield tag="007">cr uuu---uuuuu</controlfield><controlfield tag="008">191023s2017 xx |||||o 00| ||eng c</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781680502909</subfield><subfield code="c">electronic bk.</subfield><subfield code="9">978-1-68050-290-9</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1680502905</subfield><subfield code="c">electronic bk.</subfield><subfield code="9">1-68050-290-5</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-627-1)047668636</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)KEP047668636</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(ORHE)9781680502909</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-627-1)047668636</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-627</subfield><subfield code="b">ger</subfield><subfield code="c">DE-627</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1=" " ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.117</subfield><subfield code="2">23</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Hao, Benjamin Tan Wei</subfield><subfield code="e">VerfasserIn</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Mastering Ruby closures</subfield><subfield code="b">a guide to blocks, procs, and lambdas</subfield><subfield code="c">by Benjamin Tan Wei Hao</subfield></datafield><datafield tag="246" ind1="3" ind2="3"><subfield code="a">Guide to blocks, procs, and lambdas</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">Version: P1.0 (August 2017)</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">[Place of publication not identified]</subfield><subfield code="b">Pragmatic Bookshelf</subfield><subfield code="c">2017</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 Online-Ressource (1 volume)</subfield><subfield code="b">illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">Text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">Computermedien</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">Online-Ressource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">The pragmatic bookshelf</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references. - Online resource; title from title page (Safari, viewed December 5, 2017)</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">The road to Ruby mastery is paved with blocks, procs, and lambdas. To be a truly effective Ruby programmer, it's not enough just to understand these features - you need to know how to use them in practice. Discover how to write code that is elegant, expressive, and a joy to use, and gain a deep understanding of these concepts so you can work with third-party gems and libraries more easily. Whether you are completely new to Ruby or a seasoned Rubyist, you'll find good use for these concepts in your code. Ruby developers use the Ruby language as the yardstick for expressivity, flexibility, and elegance - and a large part of this is due to blocks, lambdas, and procs. These language features make Ruby one of the most beautiful and pleasant languages to work with. Learn how to understand and craft code that will take you closer to Ruby mastery. Start with the basics of closures and then dive into blocks, as you learn about the patterns that involve blocks, and how they are used in real-world code. Then create and use procs and lambdas. Finally, build your own lazy enumerables with advanced Ruby features such as fibers and generators. Along the way, work with computer science concepts such as closures, free variables and first-class functions . Spot a closure easily. Identify the patterns where you can effectively use blocks and re-implement common standard library methods using them. Trace through how Symbol#to_proc works and find out the different ways of calling procs. This succinct guide takes you through the different kinds of Ruby closures with engaging examples, and each chapter comes with exercises that test and challenge your understanding. When you finish this book, blocks, procs, and lambdas will have become an integral part of your Ruby toolbox. What You Need: Ruby 2.x and a basic familiarity with Ruby.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Ruby (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Ruby (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Ruby (Computer program language)</subfield></datafield><datafield tag="966" ind1="4" ind2="0"><subfield code="l">DE-91</subfield><subfield code="p">ZDB-30-ORH</subfield><subfield code="q">TUM_PDA_ORH</subfield><subfield code="u">https://learning.oreilly.com/library/view/-/9781680502909/?ar</subfield><subfield code="m">X:ORHE</subfield><subfield code="x">Aggregator</subfield><subfield code="z">lizenzpflichtig</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-ORH</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-ORH</subfield></datafield><datafield tag="951" ind1=" " ind2=" "><subfield code="a">BO</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-ORH</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-91</subfield></datafield></record></collection> |
id | ZDB-30-ORH-047668636 |
illustrated | Illustrated |
indexdate | 2025-01-17T11:21:09Z |
institution | BVB |
isbn | 9781680502909 1680502905 |
language | English |
open_access_boolean | |
owner | DE-91 DE-BY-TUM |
owner_facet | DE-91 DE-BY-TUM |
physical | 1 Online-Ressource (1 volume) illustrations |
psigel | ZDB-30-ORH TUM_PDA_ORH ZDB-30-ORH |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | Pragmatic Bookshelf |
record_format | marc |
series2 | The pragmatic bookshelf |
spelling | Hao, Benjamin Tan Wei VerfasserIn aut Mastering Ruby closures a guide to blocks, procs, and lambdas by Benjamin Tan Wei Hao Guide to blocks, procs, and lambdas Version: P1.0 (August 2017) [Place of publication not identified] Pragmatic Bookshelf 2017 1 Online-Ressource (1 volume) illustrations Text txt rdacontent Computermedien c rdamedia Online-Ressource cr rdacarrier The pragmatic bookshelf Includes bibliographical references. - Online resource; title from title page (Safari, viewed December 5, 2017) The road to Ruby mastery is paved with blocks, procs, and lambdas. To be a truly effective Ruby programmer, it's not enough just to understand these features - you need to know how to use them in practice. Discover how to write code that is elegant, expressive, and a joy to use, and gain a deep understanding of these concepts so you can work with third-party gems and libraries more easily. Whether you are completely new to Ruby or a seasoned Rubyist, you'll find good use for these concepts in your code. Ruby developers use the Ruby language as the yardstick for expressivity, flexibility, and elegance - and a large part of this is due to blocks, lambdas, and procs. These language features make Ruby one of the most beautiful and pleasant languages to work with. Learn how to understand and craft code that will take you closer to Ruby mastery. Start with the basics of closures and then dive into blocks, as you learn about the patterns that involve blocks, and how they are used in real-world code. Then create and use procs and lambdas. Finally, build your own lazy enumerables with advanced Ruby features such as fibers and generators. Along the way, work with computer science concepts such as closures, free variables and first-class functions . Spot a closure easily. Identify the patterns where you can effectively use blocks and re-implement common standard library methods using them. Trace through how Symbol#to_proc works and find out the different ways of calling procs. This succinct guide takes you through the different kinds of Ruby closures with engaging examples, and each chapter comes with exercises that test and challenge your understanding. When you finish this book, blocks, procs, and lambdas will have become an integral part of your Ruby toolbox. What You Need: Ruby 2.x and a basic familiarity with Ruby. Ruby (Computer program language) Ruby (Langage de programmation) |
spellingShingle | Hao, Benjamin Tan Wei Mastering Ruby closures a guide to blocks, procs, and lambdas Ruby (Computer program language) Ruby (Langage de programmation) |
title | Mastering Ruby closures a guide to blocks, procs, and lambdas |
title_alt | Guide to blocks, procs, and lambdas |
title_auth | Mastering Ruby closures a guide to blocks, procs, and lambdas |
title_exact_search | Mastering Ruby closures a guide to blocks, procs, and lambdas |
title_full | Mastering Ruby closures a guide to blocks, procs, and lambdas by Benjamin Tan Wei Hao |
title_fullStr | Mastering Ruby closures a guide to blocks, procs, and lambdas by Benjamin Tan Wei Hao |
title_full_unstemmed | Mastering Ruby closures a guide to blocks, procs, and lambdas by Benjamin Tan Wei Hao |
title_short | Mastering Ruby closures |
title_sort | mastering ruby closures a guide to blocks procs and lambdas |
title_sub | a guide to blocks, procs, and lambdas |
topic | Ruby (Computer program language) Ruby (Langage de programmation) |
topic_facet | Ruby (Computer program language) Ruby (Langage de programmation) |
work_keys_str_mv | AT haobenjamintanwei masteringrubyclosuresaguidetoblocksprocsandlambdas AT haobenjamintanwei guidetoblocksprocsandlambdas |