Ruby by Example: Concepts and Code

本书通过一系列Ruby脚本实例,深入浅出地介绍了Ruby语言的关键特性及其实际应用。从使用交互式Ruby shell (irb)到利用RubyGems扩展Ruby功能,再到创建数值工具及HTML/XML处理工具,本书涵盖了继承、封装等概念,并展示了如何实施纯函数式编程和技术编程技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。 http://blog.youkuaiyun.com/topmvp - topmvp

There may be no better way to learn how to program than by dissecting real, representative examples written in your language of choice. Ruby by Example analyzes a series of Ruby scripts, examining how the code works, explaining the concepts it illustrates, and showing how to modify it to suit your needs. Baird's examples demonstrate key features of the language (such as inheritance, encapsulation, higher-order functions, and recursion), while simultaneously solving difficult problems (such as validating XML, creating a bilingual program, and creating command-line interfaces). Each chapter builds upon the previous, and each key concept is highlighted in the margin to make it easier for you to navigate the book.

You'll learn how to:
*Use the interactive Ruby shell (irb) to learn key features of the language
*Extend Ruby using RubyGems, the Ruby package manager
*Create numerical utilities, as well as utilities that process and analyze HTML/XML
*Implement purely functional and metaprogramming techniques to save time and effort
*Optimize, profile, and test your code to make sure that it not only does its job, but does it well
*Create web applications using Rails

Ruby is the fastest growing programming language today, and for good reason: Its elegant syntax and readable code make for prolific and happy programmers. But it can be difficult to understand and implement without a little help. Ruby by Example shows you how to take advantage of Ruby as you explore Ruby's fundamental concepts in action.


http://rapidshare.com/files/58152782/1593271484.zip
http://depositfiles.com/files/1879384
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值