Would you like to see this page in English? Click here.


または
1-Clickで注文する場合は、サインインをしてください。
こちらからも買えますよ
この商品をお持ちですか? マーケットプレイスに出品する
Learning Ruby
 
 

Learning Ruby [ペーパーバック]

Michael Fitzgerald

参考価格: ¥ 2,903
価格: ¥ 2,654 通常配送無料 詳細
OFF: ¥ 249 (9%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
通常2~3週間以内に発送します。 在庫状況について
この商品は、Amazon.co.jp が販売、発送します。 ギフトラッピングを利用できます。

キャンペーンおよび追加情報

  • 掲載画像とお届けする商品の表紙が異なる場合があります。ご了承ください。


商品の説明

内容説明

You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, "Learning Ruby" is a just-get-in-and-drive book - a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road. Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book: outlines many of the most important features of Ruby; demonstrates how to use conditionals, and how to manipulate strings in Ruby; includes a section on regular expressions; describes how to use operators, basic math, functions from the Math module, rational numbers, etc; talks you through Ruby arrays, and demonstrates hashes in detail; explains how to process files with Ruby; discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP). It also introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics, and acquaints you with some of the essentials of Rails, and includes a short Rails tutorial. Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, "Learning Ruby" holds the keys.

著者について

Michael Fitzgerald is principal of Wy'east Communications, an XML consultancy. He is the author of Learning XSLT and XML Hacks. He is also the author of Building B2B Applications with XML and XSL Essentials, both published by John Wiley & Sons. Michael is a regular contributor to XML.com.

登録情報


この本のなか見!検索より (詳細はこちら
この本のサンプルページを閲覧する
おもて表紙 | 著作権 | 目次 | 抜粋 | 索引 | 裏表紙
この本の中身を閲覧する:

この商品にタグをつける

 (詳細)
タグは、商品との関連性が非常に強いキーワードまたはラベルのようなものです。
タグにより、すべてのお客様がお気に入りの商品の整理と確認を行うことができます。
※タグは初期設定で公開になっています。詳しくはこちら
 

カスタマーレビュー

Amazon.co.jp にはまだカスタマーレビューはありません
星5つ
星4つ
星3つ
星2つ
星1つ
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com:  21件のカスタマーレビュー
35 人中、31人の方が、「このレビューが参考になった」と投票しています。
Learning Nothing 2007/8/29
By Michael Burton - (Amazon.com)
形式:ペーパーバック|Amazonが確認した購入
When I read a computer book titled "Learning (Something)" and I don't learn anything, I have to ask myself: is the fault in the book, or in myself? This time, I believe, it's the book.

O'Reilly has an excellent reputation as a publisher of technical books. The table of contents suggests a carefully organized survey of language features, but the actual discussion is flighty and shallow. The author is clearly a Ruby enthusiast. It seems as if he wanted to mention everything, but didn't have time to EXPLAIN anything. In short order, he shows us eval, methods, blocks, and procs, but in the sample code, they all just print "Hello, Matz!" There is no discussion of when or why one technique might be preferable to another.

The book is full of sample code that illustrates syntax without even slightly illuminating the reasoning behind it. To illustrate logical AND:

if a == 10 && b == 27 && c == 43 && d == -14
print sum = a + b + c + d
end

Later the same tests are shown separated with "||" for logical OR. Beginning programmers might wonder, "Why in the world would I want to do THAT?" Better sample code would use scenarios where the specified actions make obvious logical sense. Experienced programmers won't have trouble with AND and OR, but the same unhelpful style of sample code illustrates unique Ruby features and more complex topics, too. (Maybe it's not a problem if you already know all this stuff.)

Each chapter ends with several review questions. Here are a couple from the first chapter: "What is the nickname of the inventor of Ruby?" and "Who wrote the pickaxe book?" To be fair, in later chapters some of the answers might be the name of an object method or a math constant. But all the questions test the reader's ability to repeat something from the chapter, never his real understanding.

Oh, maybe I'm too harsh, saying I didn't learn ANYTHING from this book. The nickname of the inventor of Ruby? Matz.
12 人中、11人の方が、「このレビューが参考になった」と投票しています。
A good book on the basics of Ruby 2007/6/2
By calvinnme - (Amazon.com)
形式:ペーパーバック
This is a good book for someone who is planning to teach a beginners class in Ruby to others or has never seen Ruby before at all and wants to learn it themself from scratch. It does a good job on the basics, has plenty of examples, and even has review questions at the end of each chapter with answers at the back of the book. As far as learning anything past the basics of the language, including Rails and some of the more interesting things that can be done with Ruby, there are two short chapters that cover this information but do not go enough into the details. Once you read this book I suggest "Programming Ruby: The Pragmatic Programmers' Guide". That book goes into more detail as to what can be done with Ruby, but it also assumes you are not a beginner, which you won't be once you read this book. The table of contents is as follows:

1. Ruby Basics

Hello, Matz; Interactive Ruby; Resources; Installing Ruby; Permission Denied; Associating File Types on Windows; Review Questions;

2. A Quick Tour of Ruby

Ruby Is Object-Oriented; Ruby's Reserved Words; Comments; Variables; Strings; Numbers and Operators; Conditional

Statements; Arrays and Hashes; Methods; Blocks; Symbols; Exception Handling; Ruby Documentation; Review Questions;

3. Conditional Love

The if Statement; The case Statement; The while Loop; The loop Method; The for loop; Execution Before or After a Program; Review Questions;

4. Strings

Creating Strings; Concatenating Strings; Accessing Strings; Comparing Strings; Manipulating Strings; Case Conversion; Managing Whitespace, etc; Incrementing Strings; Converting Strings; Regular Expressions; 1.9 and Beyond ;Review Questions;

5. Math

Class Hierarchy and Included Modules; Converting Numbers; Basic Math Operations; Ranges; Inquiring About Numbers; More Math Methods; Math Functions; Rational Numbers; Prime Numbers; Review Questions;

6. Arrays

Creating Arrays; Accessing Elements; Concatenation; Set Operations; Unique Elements; Blow Your Stack; Comparing Arrays; Changing Elements; Deleting Elements; Arrays and Blocks; Sorting Things and About Face; Multidimensional Arrays; 1.9 and Beyond; Other Array Methods; Review Questions;

7. Hashes

Creating Hashes; Accessing Hashes; Iterating over Hashes; Changing Hashes; Converting Hashes to Other Classes; 1.9 and Beyond; Other Hash Methods; Review Questions;

8. Working with Files

Directories; Creating a New File; Opening an Existing File; Deleting and Renaming Files; File Inquiries; Changing File Modes and Owner; The IO Class; Review Questions;

9. Classes

Defining the Class; Instance Variables; Accessors; Class Variables; Class Methods; Inheritance; Modules; public, private, or protected ; Review Questions;

10. More Fun with Ruby

Formatting Output with sprintf; Processing XML; Date and Time; Reflection; Using Tk; Metaprogramming; RubyGems; Exception Handling; Creating Documentation with RDoc; Embedded Ruby; Review Questions;

11. A Short Guide to Ruby on Rails

Where Did Rails Come From?; Why Rails?; What Have Other Folks Done with Rails? Hosting Rails; Installing Rails; Learning Rails; A Brief Tutorial; Review Questions;

A. Ruby Reference

B. Answers to Review Questions
4 人中、4人の方が、「このレビューが参考になった」と投票しています。
Excellent Overview 2008/5/16
By R. Clay Stuart - (Amazon.com)
形式:ペーパーバック
This is a great introduction to Ruby. It covers the basics without swamping the fledgling programmer in too much complexity. That's not what newcomers need. They aren't worried about the nooks and crannies of the array class; they're wondering what the heck an array is, and what makes it different from a hash. In that respect, this book strikes a nice balance.

Having read (and bought) most of the O'Reilly books on Ruby, Perl, and Python, I can honestly say that this book ranks high at the top of them--not because it is the definitive work on Ruby (it isn't and isn't supposed to be), but because it covers the core essentials in a way that you can read in an afternoon. For that reason, it is an excellent choice for a first timer in Ruby and/or programming to see why Ruby is a great language worth learning, without having to get a computer science degree first, and without having to hire a Sherpa to help them lug their book around while they read it (I'll refrain from pointing fingers at other books here).

I think that's one thing many of the reviewers missed about this book. "Learning Ruby" is designed for the newcomer who wants to get jump started in Ruby, not for the experienced programming who is just looking for a nutshell summary.

I would also like to add that at one point, I had a question about what was included with the one-click installation system and emailed the author, who very quickly investigated the problem and emailed me back with an answer. You have to admit: that's pretty impressive.

Now, there are areas of the book that should probably be expanded on for the next edition. Primarily, I'm thinking of a chapter devoted to regular expressions a la "Learning Perl", a chapter devoted to IO (this would be brief but handy) including a section on string interpolation and how to use and combine string methods (a very cool aspect of Ruby), and finally an expansion on the chapter involving classes to address a few of the things that some of the other reviewers have already identified as important but missing.

However, those are not fatal by any means, and for the first edition in a relatively new language, this book is well worth the time and money.

クチコミ

クチコミは、商品やカテゴリー、トピックについて他のお客様と語り合う場です。お買いものに役立つ情報交換ができます。
この商品のクチコミ一覧
内容・タイトル 返答 最新の投稿
まだクチコミはありません

複数のお客様との意見交換を通じて、お買い物にお役立てください。
新しいクチコミを作成する
タイトル:
最初の投稿:
サインインが必要です
 

クチコミを検索
すべてのクチコミを検索
   


リストマニア

リストを作成

関連商品を探す


同じキーワードの商品を探す


フィードバック


Amazon.co.jpのプライバシー ステートメント Amazon.co.jpの発送情報 Amazon.co.jpでの返品と交換