[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Beginner learning Object in Ruby

Chang Tian

3/17/2007 12:44:00 AM

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-....

10 Answers

Phillip Gawlowski

3/17/2007 1:06:00 AM

0

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/Learn...
[1] http://qa.poignant...

--
Phillip Gawlowski

Chang Tian

3/17/2007 1:53:00 AM

0

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-....

Huw Collingbourne

3/17/2007 9:47:00 AM

0


"Chang Tian" <changtianemail@yahoo.com> wrote in message
news:4aa6b96a40362ecb87890b17bccc1db5@ruby-forum.com...
> 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.

You may also try my Little Book Of Ruby which is a PDF download.

http://www.sapphir.../The-Little-Bo...

best wishes

Huw Collingbourne

http://www.sapphir...
Ruby Programming In Visual Studio 2005


Robert Klemme

3/17/2007 10:31:00 AM

0

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.

Chang Tian

3/19/2007 3:45:00 AM

0


> 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-....

Harold Hausman

3/19/2007 3:58:00 AM

0

On 3/19/07, Chang Tian <changtianemail@yahoo.com> 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...

hth,
-Harold

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

Gavin Kistner

3/19/2007 5:03:00 AM

0

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...

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

El Castor

5/25/2013 6:24:00 PM

0

On Sat, 25 May 2013 11:08:45 -0700, sordo <sordo@the.real.deal.net>
wrote:

>On Sat, 25 May 2013 10:47:24 -0700, El Castor
><DrEvil@justuschickens.com> wrote:
>
>>On Sat, 25 May 2013 05:19:04 -0700 (PDT), chatnoir
>><wolfbat359a@mindspring.com> wrote:
>>
>>>http://www.pewresearch.org/fact-tank/2013/05/24/u-s-stands-out-as-a-rich-country-where-a-growing-minority-say-they-cant-af...
>>>
>>>headline:
>>>
>>>U.S. stands out as a rich country where a growing minority say they
>>>can?t afford food
>>>
>>Then let them eat cake.
>
>But Obama gives them food stamps and free telephones........

"A democracy cannot exist as a permanent form of government. It can
only exist until the majority discovers it can vote itself largess out
of the public treasury. After that, the majority always votes for the
candidate promising the most benefits with the result the democracy
collapses because of the loose fiscal policy ensuing, always to be
followed by a dictatorship, then a monarchy."
.... Alexander Tytler

chatnoir

5/26/2013 9:29:00 AM

0

On May 25, 12:23 pm, El Castor <DrE...@justuschickens.com> wrote:
> On Sat, 25 May 2013 11:08:45 -0700, sordo <so...@the.real.deal.net>
> wrote:
>
>
>
>
>
> >On Sat, 25 May 2013 10:47:24 -0700, El Castor
> ><DrE...@justuschickens.com> wrote:
>
> >>On Sat, 25 May 2013 05:19:04 -0700 (PDT), chatnoir
> >><wolfbat3...@mindspring.com> wrote:
>
> >>>http://www.pewresearch.org/fact-tank/2013/05/24/u-s-stands-.......
>
> >>>headline:
>
> >>>U.S. stands out as a rich country where a growing minority say they
> >>>can’t afford food
>
> >>Then let them eat cake.
>
> >But Obama gives them food stamps and free telephones........
>
> "A democracy cannot exist as a permanent form of government. It can
> only exist until the majority discovers it can vote itself largess out
> of the public treasury. After that, the majority always votes for the
> candidate promising the most benefits with the result the democracy
> collapses because of the loose fiscal policy ensuing, always to be
> followed by a dictatorship, then a monarchy."
> ... Alexander Tytler- Hide quoted text -
>
> - Show quoted text -

http://www.snopes.com/politics/ballot/at...


quote = Mostly False!!!!!!!!!!!!!!@!@!!!!!!!@


chatnoir

5/26/2013 9:29:00 AM

0

On May 25, 12:23 pm, El Castor <DrE...@justuschickens.com> wrote:
> On Sat, 25 May 2013 11:08:45 -0700, sordo <so...@the.real.deal.net>
> wrote:
>
>
>
>
>
> >On Sat, 25 May 2013 10:47:24 -0700, El Castor
> ><DrE...@justuschickens.com> wrote:
>
> >>On Sat, 25 May 2013 05:19:04 -0700 (PDT), chatnoir
> >><wolfbat3...@mindspring.com> wrote:
>
> >>>http://www.pewresearch.org/fact-tank/2013/05/24/u-s-stands-.......
>
> >>>headline:
>
> >>>U.S. stands out as a rich country where a growing minority say they
> >>>can’t afford food
>
> >>Then let them eat cake.
>
> >But Obama gives them food stamps and free telephones........
>
> "A democracy cannot exist as a permanent form of government. It can
> only exist until the majority discovers it can vote itself largess out
> of the public treasury. After that, the majority always votes for the
> candidate promising the most benefits with the result the democracy
> collapses because of the loose fiscal policy ensuing, always to be
> followed by a dictatorship, then a monarchy."
> ... Alexander Tytler- Hide quoted text -
>
> - Show quoted text -

Had more to do with conservative hopes than any historical truth!