[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby training materials suggestions required

z

4/28/2007 11:36:00 PM

9 Answers

Tim Hunter

4/28/2007 11:51:00 PM

0

z@xa.net wrote:
> Hello,
> I am trying to learn Ruby, reading the "pickaxe" book v 2.0. It seems
> pretty decent. However, I am looking for something different. Firstly, I
> want something that has assignments in it - something to prove to myself
> that I have grasped the concepts introduced in the preceeding chapter.
>
> The other thing I'd like is a book that is written for a specific
> IDE/editor, instead of irb. I'm used to writing in vi, but I want to get
> away from that 1980s style of programming (part of my whole change of
> attitude which is resulting in my studying Ruby).
>
> I don't have a lot of money, so I can't afford to take a college course.
> But, I would like that college textbook (without the college textbook
> cost).
>
> I'm experienced with C, so I don't need to be completely spoon-fed
> programming. Object-orientation is still a bit new to me, but I can hack
> it ;)
>
>
Welcome to Ruby!

Regarding your requirement that the book target a specific editor, I
don't think any such book exists. I suspect publishers would be afraid
of limiting their sales to such a tiny market! Besides, which editor/IDE
would you pick? Every "which is the best Ruby IDE?" post here gets 75
answers, each one advocating a different editor or IDE. (Short answer:
there is no "best.")

Check out my review of Peter Cooper's "Beginning Ruby" from Apress, on
Slashdot: http://books.slashdot.org/article.pl?sid=07/04/....
Cooper doesn't have any "assignments" but he does have a lot of example
programs that may substitute.



John Joyce

4/29/2007 12:24:00 AM

0

what system do you have to work on?
That will determine your IDE / editor choices.
You have C experience? Great. Not much Object experience? No problem.
Ruby makes it more transparent than most.
You want assignments?
Me too.
So check out Beginning Ruby: From Novice to Professional
and there is always Best of Ruby Quiz.
Otherwise have the pickaxe handy for looking up stuff.
once you feel you got it down, start making something. Even if it is
translating an app from another language to the Ruby way. That can be
great and useful.

M. Edward (Ed) Borasky

4/29/2007 12:40:00 AM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timothy Hunter wrote:
> Regarding your requirement that the book target a specific editor, I
> don't think any such book exists. I suspect publishers would be afraid
> of limiting their sales to such a tiny market! Besides, which editor/IDE
> would you pick? Every "which is the best Ruby IDE?" post here gets 75
> answers, each one advocating a different editor or IDE. (Short answer:
> there is no "best.")
There may be no "best", but there's certainly a rather short list. On a
Mac, the overwhelming favorite appears to be TextMate. On Linux, I think
"vim" is more popular than "emacs", but both are often used. Other
likely candidates are FreeRide, SciTe, Eclipse, Komodo, Sapphire In
Steel, RadRails and KDevelop. The jRuby folks like NetBeans and maybe
jEdit.

That's a bunch but nowhere near 75, and I'll bet you that most Mac
Rubyists would answer TextMate, most Linux Rubyists would answer "vim"
plus "irb", and most Windows users would answer with whatever is bundled
in the One-Click Installer and Instant Rails these days. There are
probably only five serious contenders over all.

I'm guessing Komodo 4.5 will change all that, however. :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail....

iD8DBQFGM+lYaZUb+jwczfoRAl7sAKDg7RBy6VvAwaupAdNTxaI8qHP5GQCgivfM
FmKIlKW13GQQdPvZ9z/whwM=
=ANnK
-----END PGP SIGNATURE-----

Philip Gatt

4/29/2007 1:22:00 AM

0

I'm a textmate/vim user, but I sure would love an editor with bundled
rdoc. Alt-tabbing gets annoying.

On Apr 28, 2007, at 5:40 PM, M. Edward (Ed) Borasky wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Timothy Hunter wrote:
>> Regarding your requirement that the book target a specific editor, I
>> don't think any such book exists. I suspect publishers would be
>> afraid
>> of limiting their sales to such a tiny market! Besides, which
>> editor/IDE
>> would you pick? Every "which is the best Ruby IDE?" post here gets 75
>> answers, each one advocating a different editor or IDE. (Short
>> answer:
>> there is no "best.")
> There may be no "best", but there's certainly a rather short list.
> On a
> Mac, the overwhelming favorite appears to be TextMate. On Linux, I
> think
> "vim" is more popular than "emacs", but both are often used. Other
> likely candidates are FreeRide, SciTe, Eclipse, Komodo, Sapphire In
> Steel, RadRails and KDevelop. The jRuby folks like NetBeans and maybe
> jEdit.
>
> That's a bunch but nowhere near 75, and I'll bet you that most Mac
> Rubyists would answer TextMate, most Linux Rubyists would answer "vim"
> plus "irb", and most Windows users would answer with whatever is
> bundled
> in the One-Click Installer and Instant Rails these days. There are
> probably only five serious contenders over all.
>
> I'm guessing Komodo 4.5 will change all that, however. :)
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail....
>
> iD8DBQFGM+lYaZUb+jwczfoRAl7sAKDg7RBy6VvAwaupAdNTxaI8qHP5GQCgivfM
> FmKIlKW13GQQdPvZ9z/whwM=
> =ANnK
> -----END PGP SIGNATURE-----
>


Raj Sahae

4/29/2007 1:31:00 AM

0

z@xa.net wrote:
> Hello,
> I am trying to learn Ruby, reading the "pickaxe" book v 2.0. It seems
> pretty decent. However, I am looking for something different. Firstly, I
> want something that has assignments in it - something to prove to myself
> that I have grasped the concepts introduced in the preceeding chapter.
>
> The other thing I'd like is a book that is written for a specific
> IDE/editor, instead of irb. I'm used to writing in vi, but I want to get
> away from that 1980s style of programming (part of my whole change of
> attitude which is resulting in my studying Ruby).
>
> I don't have a lot of money, so I can't afford to take a college course.
> But, I would like that college textbook (without the college textbook
> cost).
>
> I'm experienced with C, so I don't need to be completely spoon-fed
> programming. Object-orientation is still a bit new to me, but I can hack
> it ;)
>
>
>
My personal preference happens to be the Pragmatic Programmers Ruby
book. I don't know why I like it so much. It gives the information in
a very specific, laid out format, with clear examples. It doesn't have
assignments in it, and it gives examples in irb, so it doesn't meet your
reqs there. A book I came across that had that structure (besides "Best
of RubyQuiz"), was "Everyday Scripting with Ruby" by Brian Marick. It's
not as comprehensive, but it contains questions/assignments at the end
of every section, and it's examples are geared towards more realistic,
applicable problems.

Raj Sahae

Tim Hunter

4/29/2007 2:05:00 AM

0

M. Edward (Ed) Borasky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Timothy Hunter wrote:
>
>> Regarding your requirement that the book target a specific editor, I
>> don't think any such book exists. I suspect publishers would be afraid
>> of limiting their sales to such a tiny market! Besides, which editor/IDE
>> would you pick? Every "which is the best Ruby IDE?" post here gets 75
>> answers, each one advocating a different editor or IDE. (Short answer:
>> there is no "best.")
>>
> There may be no "best", but there's certainly a rather short list. On a
> Mac, the overwhelming favorite appears to be TextMate. On Linux, I think
> "vim" is more popular than "emacs", but both are often used. Other
> likely candidates are FreeRide, SciTe, Eclipse, Komodo, Sapphire In
> Steel, RadRails and KDevelop. The jRuby folks like NetBeans and maybe
> jEdit.
>
> That's a bunch but nowhere near 75, and I'll bet you that most Mac
> Rubyists would answer TextMate, most Linux Rubyists would answer "vim"
> plus "irb", and most Windows users would answer with whatever is bundled
> in the One-Click Installer and Instant Rails these days. There are
> probably only five serious contenders over all.
>
> I'm guessing Komodo 4.5 will change all that, however. :)
>

I said 75 answers, not 75 editors.


M. Edward (Ed) Borasky

4/29/2007 2:08:00 AM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timothy Hunter wrote:
> M. Edward (Ed) Borasky wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Timothy Hunter wrote:
>>
>>> Regarding your requirement that the book target a specific editor, I
>>> don't think any such book exists. I suspect publishers would be afraid
>>> of limiting their sales to such a tiny market! Besides, which editor/IDE
>>> would you pick? Every "which is the best Ruby IDE?" post here gets 75
>>> answers, each one advocating a different editor or IDE. (Short answer:
>>> there is no "best.")
>>>
>> There may be no "best", but there's certainly a rather short list. On a
>> Mac, the overwhelming favorite appears to be TextMate. On Linux, I think
>> "vim" is more popular than "emacs", but both are often used. Other
>> likely candidates are FreeRide, SciTe, Eclipse, Komodo, Sapphire In
>> Steel, RadRails and KDevelop. The jRuby folks like NetBeans and maybe
>> jEdit.
>>
>> That's a bunch but nowhere near 75, and I'll bet you that most Mac
>> Rubyists would answer TextMate, most Linux Rubyists would answer "vim"
>> plus "irb", and most Windows users would answer with whatever is bundled
>> in the One-Click Installer and Instant Rails these days. There are
>> probably only five serious contenders over all.
>>
>> I'm guessing Komodo 4.5 will change all that, however. :)
>>
>
> I said 75 answers, not 75 editors.
>
>
>
You said "75 answers, each one advocating a *different* editor or IDE".
75 answers, sure, 75 different editors??
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail....

iD8DBQFGM/3raZUb+jwczfoRAtJTAKCLvgfqFerU4Ip5W9KjmhFNvJ2lkgCfWVXh
ZkENK/RMrz7EkxtHCiN/kP4=
=Kijr
-----END PGP SIGNATURE-----

John Joyce

4/29/2007 7:46:00 AM

0


On Apr 29, 2007, at 11:07 AM, M. Edward (Ed) Borasky wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Timothy Hunter wrote:
>> M. Edward (Ed) Borasky wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Timothy Hunter wrote:
>>>
>>>> Regarding your requirement that the book target a specific
>>>> editor, I
>>>> don't think any such book exists. I suspect publishers would be
>>>> afraid
>>>> of limiting their sales to such a tiny market! Besides, which
>>>> editor/IDE
>>>> would you pick? Every "which is the best Ruby IDE?" post here
>>>> gets 75
>>>> answers, each one advocating a different editor or IDE. (Short
>>>> answer:
>>>> there is no "best.")
>>>>
>>> There may be no "best", but there's certainly a rather short
>>> list. On a
>>> Mac, the overwhelming favorite appears to be TextMate. On Linux,
>>> I think
>>> "vim" is more popular than "emacs", but both are often used. Other
>>> likely candidates are FreeRide, SciTe, Eclipse, Komodo, Sapphire In
>>> Steel, RadRails and KDevelop. The jRuby folks like NetBeans and
>>> maybe
>>> jEdit.
>>>
>>> That's a bunch but nowhere near 75, and I'll bet you that most Mac
>>> Rubyists would answer TextMate, most Linux Rubyists would answer
>>> "vim"
>>> plus "irb", and most Windows users would answer with whatever is
>>> bundled
>>> in the One-Click Installer and Instant Rails these days. There are
>>> probably only five serious contenders over all.
>>>
>>> I'm guessing Komodo 4.5 will change all that, however. :)
>>>
>>
>> I said 75 answers, not 75 editors.
>>
>>
>>
> You said "75 answers, each one advocating a *different* editor or
> IDE".
> 75 answers, sure, 75 different editors??
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail....
>
> iD8DBQFGM/3raZUb+jwczfoRAtJTAKCLvgfqFerU4Ip5W9KjmhFNvJ2lkgCfWVXh
> ZkENK/RMrz7EkxtHCiN/kP4=
> =Kijr
> -----END PGP SIGNATURE-----
>
oh, let's not be nitpicky like C programmers!

Yes, Everyday Scripting With Ruby is an excellent book! Lots of great
real world examples and exercises, in a text book/tutorial format.
very practical, hands on stuff.

Giles Bowkett

5/1/2007 7:10:00 AM

0

On 4/28/07, Philip Gatt <gattster@gmail.com> wrote:
> I'm a textmate/vim user, but I sure would love an editor with bundled
> rdoc. Alt-tabbing gets annoying.

If you're on OS X, there's also a Dashboard widget for RDoc. It might
be even more annoying than alt-tabbing, though, depending on what you
like. I dig it, though, because I don't even need to use a bookmark
and a browser to get to RDoc or the Rails API. Both pop up when I hit
F12. It's got a niftiness to it.

http://widgets.precision...

Anyway, speaking generally, I don't think editors are anywhere near as
important in Ruby as they are in other languages. The IDE thing is a
constant debate, but the **reason** it's a constant debate is because
so many Rubyists don't use IDEs at all. If that's what floats your
boat, go for it, more power to you, but a Ruby book which was
organized around a specific IDE, that's like a book on Chinese food
organized around the knife and the fork.

--
Giles Bowkett
http://www.gilesg...
http://gilesbowkett.bl...
http://giles.t...