Cargando…

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

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hao, Benjamin Tan Wei (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Place of publication not identified] : Pragmatic Bookshelf, 2017.
Edición:Version: P1.0 (August 2017)
Colección:Pragmatic bookshelf.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000 i 4500
001 OR_on1014021664
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 171206s2017 xx a ob 000 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d STF  |d OCLCF  |d TOH  |d OH1  |d CEF  |d KSU  |d INT  |d DEBBG  |d OCLCQ  |d G3B  |d UAB  |d RDF  |d OCLCQ  |d DST  |d OCLCO  |d OCLCQ 
020 |a 9781680502909  |q (electronic bk.) 
020 |a 1680502905  |q (electronic bk.) 
020 |z 9781680502619 
020 |z 1680502611 
029 1 |a GBVCP  |b 1014938163 
035 |a (OCoLC)1014021664 
037 |a CL0500000918  |b Safari Books Online 
050 4 |a QA76.73.R83 
082 0 4 |a 005.117  |2 23 
049 |a UAMI 
100 1 |a Hao, Benjamin Tan Wei,  |e author. 
245 1 0 |a Mastering Ruby closures :  |b a guide to blocks, procs, and lambdas /  |c by Benjamin Tan Wei Hao. 
246 3 0 |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 resource (1 volume) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a The pragmatic bookshelf 
588 0 |a Online resource; title from title page (Safari, viewed December 5, 2017). 
504 |a Includes bibliographical references. 
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. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Ruby (Computer program language) 
650 6 |a Ruby (Langage de programmation) 
650 7 |a Ruby (Computer program language)  |2 fast  |0 (OCoLC)fst01101038 
830 0 |a Pragmatic bookshelf. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781680502909/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP