- Регистрация
- 27 Авг 2018
- Сообщения
- 37,366
- Реакции
- 526,066
- Тема Автор Вы автор данного материала? |
- #1
Unannounced and unmarked, blocks turn up all over Ruby programs. Their use ranges from some of Ruby’s most basic structures, such as loops, to some of its most sophisticated tricks. Similar to closures or lambdas in other languages, blocks enable some of Ruby’s vaunted efficiency. Blocks even allow other people to write some of the code you use.
With this book, you'll learn about blocks by looking at each concept from different angles. Exercises throughout will help you understand and remember how these closure-like structures work. In fact, these exercises are key component to our unique, hands-on Head First approach.
- Bend your mind around blocks and methods
- Build blocks into larger structures
- Do heavy lifting easily with blocks
- Get more done with less code
- Jay McGavren is a development teacher at Treehouse, and an occasional conference speaker. He's the author of Head First Ruby, a tutorial book on the Ruby programming language.
DOWNLOAD: