Book Description
The Ruby programming language is perfect for beginners: easy to learn, powerful, and fun to use! But wouldn’t it be more fun if you were learning with the help of some wizards and dragons?
Ruby Wizardry is a playful, illustrated tale that will teach you how to program in Ruby by taking you on a fantastical journey. As you follow the adventures of young heroes Ruben and Scarlet, you’ll learn real programming skills, like how to:
- Use fundamental concepts like variables, symbols, arrays, and strings
- Work with Ruby hashes to create a programmable breakfast menu
- Control program flow with loops and conditionals to help the Royal Plumber
- Test your wild and crazy ideas in IRB and save your programs as scripts
- Create a class of mini-wizards, each with their own superpower!
- Organize and reuse your code with methods and lists
- Write your own amazing interactive stories using Ruby
Along the way, you’ll meet colorful characters from around the kingdom, like the hacker Queen, the Off-White Knight, and Wherefore the minstrel. Ruby Wizardry will have you (or your little wizard) hooked on programming in no time.
For ages 10+ (and their parents!)
Table of Contents
Chapter 1: What This Book’s About
Chapter 2: The King and His String
Chapter 3: Pipe Dreams
Chapter 4: Staying in the Loop
Chapter 5: Array of Sunshine and Hash on the Range
Chapter 6: The (Chunky) Bacon to Ruby’s Hash
Chapter 7: The Magic of Methods and Blocks
Chapter 8: Everything Is an Object (Almost)
Chapter 9: Inheriting the Magic of Ruby
Chapter 10: A Horse of a Different Color
Chapter 11: Second Time’s the Charm
Chapter 12: Reading, Writing, and Ruby Magic
Chapter 13: Follow the WEBrick Road
Chapter 14: Where to Go Next
Appendix A: Installing Ruby on Mac and Linux
Appendix B: Troubleshooting
中文:
书名:Ruby Wizarry:儿童编程入门
Ruby编程语言非常适合初学者:简单易学、功能强大、使用起来很有趣!但是,如果你在一些巫师和龙的帮助下学习,不是更有趣吗?
红宝石魔法 是一个有趣的图文并茂的故事,它将带您踏上一段梦幻之旅,教您如何用Ruby编程。当你跟随年轻英雄鲁本和斯佳丽的冒险经历时,你将学到真正的编程技能,比如如何:
- 使用变量、符号、数组和字符串等基本概念
- 使用Ruby散列创建可编程的早餐菜单
- 带有循环和条件的控制程序流以帮助皇家管道工
- Test your wild and crazy ideas in IRB and save your programs as scripts
- 创造一类迷你巫师,每个人都有自己的超能力!
- 使用方法和列表组织和重用您的代码
- 使用Ruby编写您自己令人惊叹的互动故事
一路上,你会遇到来自王国各地的五颜六色的人物,比如黑客女王、白衣骑士和吟游诗人。 红宝石魔法 很快就会让你(或你的小精灵)迷上编程。
For ages 10+ (and their parents!)
Table of Contents
第一章:这本书讲的是什么
第二章:国王和他的弦
Chapter 3: Pipe Dreams
Chapter 4: Staying in the Loop
Chapter 5: Array of Sunshine and Hash on the Range
Chapter 6: The (Chunky) Bacon to Ruby’s Hash
Chapter 7: The Magic of Methods and Blocks
Chapter 8: Everything Is an Object (Almost)
第9章:传承红宝石的魔力
Chapter 10: A Horse of a Different Color
第十一章:第二次的魅力
Chapter 12: Reading, Writing, and Ruby Magic
第13章:走WEBrick之路
Chapter 14: Where to Go Next
Appendix A: Installing Ruby on Mac and Linux
Appendix B: Troubleshooting
评论前必须登录!
注册