Inhaltsangabe:
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 metaprogram
Über die Autorin bzw. den Autor:
Kevin C. Baird received his Ph.D. from the State University of New York at Buffalo. He originally wrote his dissertation in Python but rewrote the project after discovering Ruby, and he hasn't looked back since. He has presented at RubyConf and written articles for Linux Journal, Music & Computers magazine, and the New Interfaces for Musical Expression conference proceedings.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.