Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Beginner learning Object in Ruby

Reply
Thread Tools

Beginner learning Object in Ruby

 
 
Chang Tian
Guest
Posts: n/a
 
      03-17-2007
I am new to object-oriented programming and Ruby. Although I learn some
simple programming before e.g. cobol, pascal, but I know very little in
the area of programming, especially OO concept. A few years back, I
tried to read a book on Java & OO aspect and I gave up. It is very
difficult for me to understand OO.

I tried to read the 2nd edition of "Programming Ruby" but I found that
the book only has words & codes. It is too dry for me. I wonder if
anyone can recommend me any book or guide that can explain OO in Ruby in
a more visual or graphical way.

Or is it possible for a beginner like me to ever like a language like
Ruby in the first place? Any advice would be much appreciated!

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
cmdjackryan@googlemail.com
Guest
Posts: n/a
 
      03-17-2007
Chang Tian wrote:

> I tried to read the 2nd edition of "Programming Ruby" but I found that
> the book only has words & codes. It is too dry for me. I wonder if
> anyone can recommend me any book or guide that can explain OO in Ruby in
> a more visual or graphical way.


Two good resources that helped me a lot, are Chris Pine's Learn to
Program[0], which introduces many concepts of programming, including
OOP, using Ruby, and Why's (Poignant) Guide to Ruby[1] (with foxes!),
which uses an odd approach to the whole tutorial thing, but is readable
and quite thorough in what it covers.
I find the Pickaxe (Programming Ruby) very valuable to look things up,
rathr than learning Ruby itself.

> Or is it possible for a beginner like me to ever like a language like
> Ruby in the first place? Any advice would be much appreciated!


Yes, it is possible. I have only meager exposure to other languages, and
all of that is years past, too. Ruby is the only language that I can
keep interest in, and constantly learn about it. The nice thing about
Ruby is, that it stays out of your way: You write code as you need it,
and the Ruby Way of things comes quite naturally, when you learn more
and more.

And advice I have, is to take a problem, and write a solution. You can
work from there, building your program as you need it, and constantly
are encouraged to learn new things. The downside is, that you can get
lost in side tracks, and try to learn too much at a time.

Links:
[0] http://pine.fm/LearnToProgram/
[1] http://qa.poignantguide.net/

--
Phillip Gawlowski

 
Reply With Quote
 
 
 
 
Chang Tian
Guest
Posts: n/a
 
      03-17-2007
Wow, Thanks for the prompt reply from whoever he/she is.

I will check out the books recommended. Hopefully, the books have pdf
versions. Books that are in .chm or online version are really tiring to
the eyes.

Thanks!

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Robert Klemme
Guest
Posts: n/a
 
      03-17-2007
On 17.03.2007 02:53, Chang Tian wrote:
> Wow, Thanks for the prompt reply from whoever he/she is.
>
> I will check out the books recommended. Hopefully, the books have pdf
> versions. Books that are in .chm or online version are really tiring to
> the eyes.


I think Why's guide does not work very well in printing because of the
layout and the hyperlinking. It's fun nevertheless.

Have fun!

robert


PS: Maybe also some tutorial on UML helps you as this will definitively
have graphical representations of classes, objects, control flows etc.
in it.
 
Reply With Quote
 
Chang Tian
Guest
Posts: n/a
 
      03-19-2007

> I think Why's guide does not work very well in printing because of the
> layout and the hyperlinking. It's fun nevertheless.
>


I have found the link to download the online book :-

poignantguide.net/ruby/whys-poignant-guide-to-ruby.pdf

I just started reading the "Learning to Program". BTW, what is UML?

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Harold Hausman
Guest
Posts: n/a
 
      03-19-2007
On 3/19/07, Chang Tian <> wrote:
>
> > I think Why's guide does not work very well in printing because of the
> > layout and the hyperlinking. It's fun nevertheless.
> >

>
> I have found the link to download the online book :-
>
> poignantguide.net/ruby/whys-poignant-guide-to-ruby.pdf
>
> I just started reading the "Learning to Program". BTW, what is UML?
>


http://www.google.com.sg/search?q=what+is+UML%3F

hth,
-Harold

> --
> Posted via http://www.ruby-forum.com/.
>
>


 
Reply With Quote
 
Phrogz
Guest
Posts: n/a
 
      03-19-2007
On Mar 18, 9:58 pm, "Harold Hausman" <hhaus...@gmail.com> wrote:
> On 3/19/07, Chang Tian <changtianem...@yahoo.com> wrote:
> > I just started reading the "Learning to Program". BTW, what is UML?

>
> http://www.google.com.sg/search?q=what+is+UML%3F


See also: http://www.google.com/search?q=define:UML

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[I'm learning C]: Learning to use ucontext Andrey Popp C Programming 5 01-31-2012 01:05 AM
Learning C and Learning Make/Configure/Building/Linking Hal Vaughan C Programming 7 03-21-2006 05:07 PM
e-learning, (collaborative learning environment) collinm Java 1 09-08-2005 09:52 PM
Learning Python for a new beginner Lisa Horton Python 3 02-04-2005 05:58 PM
Beginner learning how to build a Router Simulator? cristal C++ 1 10-08-2004 02:17 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57