[Tutor] Help with understanding classes

Alan Gauld alan.gauld at btinternet.com
Sat May 21 19:19:12 CEST 2011


"Robert Sjöblom" <robert.sjoblom at gmail.com> wrote

> I'm trying to wrap my head around classes ...The websites
> and books that I have consulted ...assume prior
> programming/oop experience, something I lack.

Alex, and especially Steven (great job BTW!,) have given you good
explanations, provided you understand the basics of programming.
However, in your post, you suggest you don't have prior
*programming* experience? If that's the case, forget about
OOP and classes for now and go learn how to write basic
code up to the point where you are comfortable defining
and using your own functions. Then come back to classes
and OOP and it will all make a lot more sense.

OTOH If you can already create and use functions then
Alex and Steven's explanations should be useful and
if you still have specific questions feel free to post
them here.

You can also try my OOP tutorial topic, but it does assume
basic familiarity with creating functions.

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/





More information about the Tutor mailing list