Am I the only one who has a hard time browsing PickAxe?
I swear I care almost never find what I want promptly. Most of the
time I just stare at the section titles without a clue of which one might
have what I’m looking for. I click through them almost randomly and
eventually give up in frustration. Maybe it’s me, but I swear I’ve never
struggled so much with a reference book.
Thank you for your help. I do appreciate it.
···
On Sun, Mar 23, 2003 at 03:29:14PM +0900, Joel VanderWerf wrote:
break if condition2
break(value) if condition2
value is used as the value of the while statement.
Doc-ed in the Pickaxe chapter on Expressions. (But not the value
argument, which is a recently added feature.)
–
Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137
> Am I the only one who has a hard time browsing PickAxe?
You might grab a copy of Ruby in a Nutshell. Great reference. The
only gripe I have is that the class reference isn’t in alphabetical
order, but you get used to where stuff is. I don’t hav the PickAxe so
I can’t compare, but finding syntax other things hasn’t ever been a
problem here.
Am I the only one who has a hard time browsing PickAxe?
I swear I care almost never find what I want promptly. Most of the
time I just stare at the section titles without a clue of which one might
have what I’m looking for. I click through them almost randomly and
eventually give up in frustration. Maybe it’s me, but I swear I’ve never
struggled so much with a reference book.
I take it you mean the online version?
I always wondered why the links on RubyCentral don’t point to a version
with the frames “contents” and “jump targets”, which is included in the
downloadable version. I find the jump targets often help just as much as
the index at the back of the paper version.
I think it’s a ruse to get you to buy the paper version, which is much
easier to browse with a comprehensive contents and index, and a thumb-index
for the class reference. You get the pictures as well.
But if you pull down a local copy of the online version you can just grep
the html files…
Cheers,
Brian.
···
On Sun, Mar 23, 2003 at 03:38:10PM +0900, Daniel Carrera wrote:
Sigh.
Am I the only one who has a hard time browsing PickAxe?
Pickaxe is not a reference book, which mostly explains your
frustration. There’s a difference between your expectation (find
something quickly) and the reality (read it and learn).
I therefore suggest you read it chapter by chapter. Obviously, you
won’t remember everything, but you’ll remember vaguely where to find
things for future … er … reference.
Gavin
···
On Sunday, March 23, 2003, 5:38:10 PM, Daniel wrote:
break if condition2
break(value) if condition2
value is used as the value of the while statement.
Doc-ed in the Pickaxe chapter on Expressions. (But not the value
argument, which is a recently added feature.)
Sigh.
Am I the only one who has a hard time browsing PickAxe?
I swear I care almost never find what I want promptly. Most of the
time I just stare at the section titles without a clue of which one might
have what I’m looking for. I click through them almost randomly and
eventually give up in frustration. Maybe it’s me, but I swear I’ve never
struggled so much with a reference book.
Have you ever just read the whole thing, cover to cover? (The paper version
is nicer for that, of course.) It makes a difference.
The book is 564 pages. Page 277 and on are the class reference, appendices,
index, bibliography, etc. In other words, the “book” part of the book is
really less than half of the actual book. This might not be clear in the
online version. I’d say just read the whole “book” part, if you haven’t
already.
In my own personal experience, there are really just two places I use
anymore: the class reference (of course) and Chapter 18: The Ruby
Language. Chapter 18 sums up nearly everything you could ever want to know
(at least at your rather high level of understanding) in 39 lovely pages.
(It answers this question of yours, too.) And the next three chapters
answer you really deep questions, but in practice I rarely look at them.
It’s all in Chapter 18.
In the online version, click on the chapter heading “The Ruby Language”.
So how are you supposed to know this? I don’t know. But there is a hint at
the very beginning of Chapter 1, where the pragmatic programmers say that they were using section 3 (which starts with Chapter 18) as they were
writing the rest of the book. And they reference it over and over at the
end of the Roadmap, too.
On Sun, Mar 23, 2003 at 03:29:14PM +0900, Joel VanderWerf wrote:
break if condition2
break(value) if condition2
value is used as the value of the while statement.
Doc-ed in the Pickaxe chapter on Expressions. (But not the value
argument, which is a recently added feature.)
Sigh.
Am I the only one who has a hard time browsing PickAxe?
I swear I care almost never find what I want promptly. Most of the
time I just stare at the section titles without a clue of which one might
have what I’m looking for. I click through them almost randomly and
eventually give up in frustration. Maybe it’s me, but I swear I’ve never
struggled so much with a reference book.
Thank you for your help. I do appreciate it.
The book is a lot easier to find things in than the on-line reference.
When I’m using the on-line reference, I almost always operate from the
find tab, but with the book I tend to use the index. The index works
better, partially because the pages are of a reasonable size.
On Sunday, Mar 23, 2003, at 02:31 US/Central, Kent Dahl wrote:
I always wondered why the links on RubyCentral don’t point to a version
with the frames “contents” and “jump targets”, which is included in the
downloadable version.
I therefore suggest you read it chapter by chapter. Obviously, you
won’t remember everything, but you’ll remember vaguely where to find
things for future … er … reference.
Yes, but that works much better in the paper version. “Let’s see, that was
near the middle of the book, high on the left page…” as opposed to “Yeah,
I saw that on my screen…”
I note that one of the big online book stores has used copies available
for less than $10.00. Less than the cost of a CD. Less than a movie ticket
plus popcorn. Less than a stack of 50 blank CD-Rs.
There really is no excuse for NOT having a paper copy of the book.
···
On Mon, 24 Mar 2003 01:54:33 +0900, Gavin Sinclair wrote:
Pickaxe is not a reference book, which mostly explains your frustration.
There’s a difference between your expectation (find something quickly) and
the reality (read it and learn).
I therefore suggest you read it chapter by chapter. Obviously, you won’t
remember everything, but you’ll remember vaguely where to find things for
future … er … reference.