Ruby books -- Which one for a true beginner?


(Michael Vondung) #1

It’s been about ten years since I spent any time programming, and even
back then I’d only written medium-sized applications in various Basic
dialects (Locomotive Basic, Omikron Basic, GFA Basic, VB). I’m
interested in learning Ruby, but couldn’t find any “beginner’s
tutorials” online. (Most everything I found seemed rather advanced.)

There are several Ruby related books. Is there one among them that
you’d recommend to a true Ruby (and object oriented languages)
“newbie”? If there’s no “real beginner’s” book, which of the available
ones comes closest?

Thanks!
-M.


(Ned Konz) #2

I steered my friend (who has programmed before, but only in non-OO
languages) to “Programming Ruby” by David Thomas and Andrew Hunt.
He’s picking it up quite well.

···

On Wednesday 26 June 2002 09:14 am, Michael Vondung wrote:

There are several Ruby related books. Is there one among them that
you’d recommend to a true Ruby (and object oriented languages)
“newbie”?


Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE


(Aidan Mark Humphreys) #3

Michael Vondung wrote:

It’s been about ten years since I spent any time programming, and even
back then I’d only written medium-sized applications in various Basic
dialects (Locomotive Basic, Omikron Basic, GFA Basic, VB). I’m
interested in learning Ruby, but couldn’t find any “beginner’s
tutorials” online. (Most everything I found seemed rather advanced.)

There are several Ruby related books. Is there one among them that
you’d recommend to a true Ruby (and object oriented languages)
“newbie”? If there’s no “real beginner’s” book, which of the available
ones comes closest?

Thanks!

For a tutorial oriented book I would recomend

Sams
Teach Yourself Ruby in 21 Days
by Mark Slagell

from the of the current Ruby books.

Don’t be put off by the “Teach yourself …” title. It is very well written.

Aidan


(Tobi Reif) #4

Michael Vondung wrote:

Is there one among them that
you’d recommend to a true Ruby (and object oriented languages)
“newbie”?

Check
http://www.ruby-lang.org/~slagell/ruby/index.html
.
http://www.ruby-lang.org/~slagell/ruby/oothinking.html
and the following sections tought me the basics of OO.

This
http://www.ruby.ch/en/rubymain.shtml
is also nice.

And yes, the Pickaxe is great; tought me the basics of regexs and of Ruby.

Tobi

···


http://www.pinkjuice.com/


(Bil Kleb) #5

Ned Konz wrote:

I steered my friend (who has programmed before, but only in non-OO
languages) to “Programming Ruby” by David Thomas and Andrew Hunt.

I second that recommendation. Chapter 2, “Ruby.new” (a mere 13 pages)
are brilliant.

···


Bil Kleb
NASA Langley Research Center
Hampton, Virginia, USA


(Lagi) #6

Is there aversion of ruby that will run on the palm pilot?
It seems that it should be small enough - or is the PP
not powerful enough to run Ruby at an acceptable speed…

Regards lagi


(Pat Eyler) #7

Ned Konz wrote:

I steered my friend (who has programmed before, but only in non-OO
languages) to “Programming Ruby” by David Thomas and Andrew Hunt.

I second that recommendation. Chapter 2, “Ruby.new” (a mere 13 pages)
are brilliant.

I have to agree … Ruby.new did more for my understanding of programming
than some complete books.

(yes, I’m very much a newbie at many things)

-pate

···

On Thu, 27 Jun 2002, Bil Kleb wrote:


(Yukihiro Matsumoto) #8

Hi,

···

In message “Palm Distro” on 02/06/27, lagi@yasoo.co.uk lagi@yasoo.co.uk writes:

Is there aversion of ruby that will run on the palm pilot?
It seems that it should be small enough - or is the PP
not powerful enough to run Ruby at an acceptable speed…

Unfortunately, Ruby highly depends on C model. Palm does not have
even stdio. If someone has brilliant idea, tell me. I really like
to see Ruby runs on my visor edge.

						matz.

(Yohanes Santoso) #9

matz@ruby-lang.org (Yukihiro Matsumoto) writes:

Hi,

Is there aversion of ruby that will run on the palm pilot?
It seems that it should be small enough - or is the PP
not powerful enough to run Ruby at an acceptable speed…

Unfortunately, Ruby highly depends on C model. Palm does not have
even stdio. If someone has brilliant idea, tell me. I really like
to see Ruby runs on my visor edge.

I have some Palm programming experience. Depending on which compiler
you use, you may or may not have stdio emulated. I’ve been using
PRC-Tools and this page is really helpful as an overview:
http://tangentsoft.net/palmfaq/articles/stdlib.html

I think beside the size issue, ruby on palm should be feasible, but
perhaps it will introduce too many #ifdef’s in the code.

YS.

···

In message “Palm Distro” > on 02/06/27, lagi@yasoo.co.uk lagi@yasoo.co.uk writes:


(Harry Ohlsen) #10

I’ve found that pretty much every standard C library routine I wanted was
available with a slightly different name. For example, StrPrintf() for
sprintf().

Hence, a few #define’s can get you a long way. Of course, most of the *nix
library routines are missing, but unless they’re used by the other code, that
would simply mean that some of Ruby’s library routines would have to be
sacrificed.

···

On Thu, 27 Jun 2002 04:59, you wrote:

I have some Palm programming experience. Depending on which compiler
you use, you may or may not have stdio emulated. I’ve been using
PRC-Tools and this page is really helpful as an overview:
http://tangentsoft.net/palmfaq/articles/stdlib.html


(Lagi) #11

Hi Everyone,

I think ANY implementation of Ruby (tiny Ruby anyone :wink: )
would be better than none.

whether we have to change a few library routines - who cares.
I absolutely prefer it to C now.

BTW what about an implementation for Pocket PC?

Weiler’s Law
"Nothing is impossible for the man who doesn’t have to do it himself."

···

----- Original Message -----
From: Harry Ohlsen
To: ruby-talk ML
Sent: Thursday, June 27, 2002 12:35 AM
Subject: Re: Palm Distro

On Thu, 27 Jun 2002 04:59, you wrote:

I have some Palm programming experience. Depending on which compiler
you use, you may or may not have stdio emulated. I’ve been using
PRC-Tools and this page is really helpful as an overview:
http://tangentsoft.net/palmfaq/articles/stdlib.html

I’ve found that pretty much every standard C library routine I wanted was
available with a slightly different name. For example, StrPrintf() for
sprintf().

Hence, a few #define’s can get you a long way. Of course, most of the *nix
library routines are missing, but unless they’re used by the other code, that
would simply mean that some of Ruby’s library routines would have to be
sacrificed.