文件名称:Sams - Teach Yourself Ruby in 21 Days.pdf
文件大小:6.59MB
文件格式:PDF
更新时间:2011-07-27 18:46:38
Ruby
The book you hold in your hands is unusual.
You know that it is a book about computer programming, and it is about a language that
you may not have heard a lot about; but that much is not, perhaps, unusual. There are
many computer languages in existence, you are probably unfamiliar with most of them
(isn’t everybody?), and you’ve seen bookstore shelves overflowing with programming
titles.
What is unusual is that Ruby is a very advanced programming language, yet this book
claims to teach it to you while assuming almost nothing about your expertise or experience.
If those two statements sound unrealistic and incompatible, don’t immediately put
the book down and give up. Instead, consider what it means for a programming language
to be advanced. You might be inclined to say that an advanced language would be powerful,
cryptic, and hard to learn; and would be the province of the highly experienced professional
who has been doing it for years, already knows half a dozen languages inside
and out, and has found them all wanting in some way.
And you’d be partly right. An advanced language would be powerful. It would also
attract highly experienced professionals who found that other languages didn’t do what
they wanted in quite the way they wanted. But think again about the rest: A truly
advanced language might not necessarily be cryptic, because being cryptic cannot be
considered a virtue. Nor, by the same token, would it necessarily be hard to learn. And so
its usefulness might not be limited to the most experienced programmers.