[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Complete beginner in programming

Steve Callaway

3/31/2005 6:49:00 AM

Corrected :) Original sent in error

Roger,

OO is a conceptual thing and probably isn't the best
place to start until you have the basics. The trick is
to learn the elements of standard programming first:
variables and their scope, loops and conditional
expressions, function calls, etc. Once you are fairly
confident you can handle all this stuff, the switch
from standard functional programming to OO is not big.


It is merely applying the stuff you already know in a
different way so that your code is more open to re-use
and is easier to manage and maintain. The on-cost of
this however is that you have to acquire a knowledge
of how inheritance and use of modules as mixins in
classes etc. Not a big hit, but why complicate the
issue at what is already a difficult stage? The
learning curve in Ruby is not steep for both stages,
so do it as two steps is my advice.

rgds

Steve Callaway


--- Roger Grosswiler <roger@gwch.net> wrote:
> Hi,
>
> i am a complete beginner in programming, i can
> handle some lines in perl. Does anybody know a EASY
> source to learn
> oo-programming?
>
> Roger
>
>
>